Gets and sets the variance of the density.

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public double Variance { get; set; }
Visual Basic (Declaration)
Public Property Variance As Double
Visual C++
public:
virtual property double Variance {
	double get () sealed;
	void set (double value) sealed;
}

Implements

IRandomVariableMoments..::.Variance

Remarks

The variance of the density is the standard deviation squared.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.InvalidArgumentExceptionThrown if the variance is less than or equal to zero.

See Also