Stats.Range Method

Definition

Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

Range(Vector<Double>) Returns the range of the elements of a vector.
Range<T>(T[]) Returns the range of the elements of an array.
Range<T>(Vector<T>) Returns the range of the elements of a numerical variable.

Stats.Range<T>(T[])

Returns the range of the elements of an array.
C#
public static T Range<T>(
	T[] values
)

Parameters

values  T[]
An Int32 array.

Type Parameters

T

Return Value

T
The range of the elements of values.

Exceptions

ArgumentNullExceptionvalues is null.

Stats.Range(Vector<Double>)

Returns the range of the elements of a vector.
C#
public static double Range(
	this Vector<double> values
)

Parameters

values  Vector<Double>
A vector.

Return Value

Double
The range of the elements of values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Vector<Double>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Exceptions

ArgumentNullExceptionvalues is null.

Stats.Range<T>(Vector<T>)

Returns the range of the elements of a numerical variable.
C#
public static T Range<T>(
	this Vector<T> values
)

Parameters

values  Vector<T>
A Vector<T>.

Type Parameters

T

Return Value

T
The range of the elements of values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Vector<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Exceptions

ArgumentNullExceptionvalues is null.

See Also