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