Gets or sets the variance of the first sample.
Namespace: Extreme.Statistics.Tests
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Property Variance1 As Double |
| C# |
|---|
public double Variance1 { get; set; } |
| C++ |
|---|
public: double Variance1 { double get (); void set (double value); } |
Value
The variance of the first sample.
Remarks
This property can only be set if Sample1
is nullNothingnullptr.
The variance must be greater than or equal to zero.
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | Sample1 is not nullNothingnullptr. |
| ArgumentOutOfRangeException | The new variance is less than zero. |