You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > clMatrix Structure > clMatrix Methods > StdDev Method > clMatrix.StdDev Method ()
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
clMatrix.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 vector Complex property is true.

var a: clMatrix; c: double; aMean: double; begin a.Size(2,2, clFloat, false); a.CopyFromArray(TDoubleArray.Create(1,2,3,4)); Caption := FloatToSTr(a.StdDev); end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!