Gets the indexes of the intervals containing a set of values.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Function Map ( _ values As Double() _ ) As Integer() |
| C# |
|---|
public int[] Map ( double[] values ) |
| C++ |
|---|
public: array<int>^ Map ( array<double>^ values ) |
Parameters
- values ()
- A Double array.
Return Value
An integer array containing for each element in values the zero-based index of the interval containing it.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | values is nullNothingnullptr. |