Click or drag to resize
Accord.NET (logo)

ContinuousHistogramStdDev Property

Standard deviation.

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public float StdDev { get; }
Request Example View Source

Property Value

Type: Single
Remarks

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

Sample usage:

// create histogram
ContinuousHistogram histogram = new ContinuousHistogram(
    new int[] { 0, 0, 8, 4, 2, 4, 7, 1, 0 }, new Range( 0.0f, 1.0f ) );
// get std.dev. value (= 0.215)
Console.WriteLine( "std.dev. = " + histogram.StdDev.ToString( "F3" ) );
See Also