You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Matrix Structure > Matrix Methods > StdDev Method > Matrix.StdDev Method ()
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Matrix.StdDev Method ()

Standard deviation.

Syntax
C#
Visual Basic
public double StdDev();

Calculate the standard deviation of all calling object elements. The result is a real value. An exception is raised if calling Matrix Complex property is true.

var a: Matrix; c: double; aMean: double; begin a.SetIt(2,2,False,[1,2,3,4]); aMean := a.Mean; c := a.StdDev(aMean); //if both Mean and StdDev are required this is faster // c := a.StdDev; //this is an alternative. end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!