Returns a NumericalVariable whose observations span the specified range.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Shared Function CreateRange ( _ length As Integer, _ minValue As Double, _ maxValue As Double _ ) As NumericalVariable |
| C# |
|---|
public static NumericalVariable CreateRange ( int length, double minValue, double maxValue ) |
| C++ |
|---|
public: static NumericalVariable^ CreateRange ( int length, double minValue, double maxValue ) |
Parameters
- length (System.Int32)
- The number of observations.
- minValue (System.Double)
- The lowest value.
- maxValue (System.Double)
- The (exclusive) highest value.
Return Value
A NumericalVariable of length length whose observations are equally spaced real numbers between minValue and maxValue, inclusive.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | length is less than zero. |