Returns the minimum and maximum value of the elements of a numerical variable.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Shared Function MinMax ( _ data As NumericalVariable _ ) As Double() |
| C# |
|---|
public static double[] MinMax ( NumericalVariable data ) |
| C++ |
|---|
public: static array<double>^ MinMax ( NumericalVariable^ data ) |
Parameters
Return Value
A two-element array containing the minimum and maximum value of the elements of data.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | data is nullNothingnullptr. |