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 Object(), _
	formatProvider As IFormatProvider _
) As Integer()
C#
public int[] Map (
	Object[] values,
	IFormatProvider formatProvider
)
C++
public:
array<int>^ Map (
	array<Object^>^ values, 
	IFormatProvider^ formatProvider
)

Parameters

values ()
An Object array.
formatProvider (System.IFormatProvider)
An IFormatProvider object that is used when converting the elements of values to a Double value.

Return Value

An integer array containing for each element in values the zero-based index of the interval containing it.

Exceptions

ExceptionCondition
ArgumentNullExceptionvalues is nullNothingnullptr.