Stats.Range Method
Definition
Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Overload List
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. |
Range<T>(T[])
Returns the range of the elements of an array.
public static T Range<T>(
T[] values
)
Parameters
- values T[]
- An Int32 array.
Type Parameters
- T
Return Value
TThe range of the elements of values.
Exceptions
Argument | values is null. |
Range<T>(Vector<T>)
Returns the range of the elements of a numerical variable.
public static T Range<T>(
this Vector<T> values
)
Parameters
Type Parameters
- T
Return Value
TThe 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
Argument | values is null. |