Standard deviation.

Namespace:  AForge.Math
Assembly:  AForge.Math (in AForge.Math.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public double StdDev { get; }

Remarks

The property allows to retrieve standard deviation value of the histogram.

Sample usage:

CopyC#
// create histogram
Histogram histogram = new Histogram( new int[10] { 0, 0, 1, 3, 6, 8, 11, 0, 0, 0 } );
// get std.dev. value (= 1.136)
Console.WriteLine( "std.dev. = " + histogram.StdDev.ToString( "F3" ) );

See Also