Gets or sets the variance of the second sample.

Namespace: Extreme.Statistics.Tests
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

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

Value

The variance of the second sample.

Remarks

This property can only be set if Sample2 is nullNothingnullptr. The variance must be greater than or equal to zero.

Exceptions

ExceptionCondition
InvalidOperationExceptionSample2 is not nullNothingnullptr.
ArgumentOutOfRangeExceptionThe new variance is less than zero.