Gets and sets the variance of the density.
Namespace:
CenterSpace.NMath.StatsAssembly: 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
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.InvalidArgumentException | Thrown if the variance is less than or equal to zero. |