Gets the indexes of the intervals containing the values in an array.

Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Function Map ( _
	values As Object(), _
	provider As IFormatProvider _
) As Integer()
C#
public int[] Map (
	Object[] values,
	IFormatProvider provider
)
C++
public:
array<int>^ Map (
	array<Object^>^ values, 
	IFormatProvider^ provider
)

Parameters

values ()
A value that can be converted to DateTime.
provider (System.IFormatProvider)
An IFormatProvider object that is used when converting values to a DateTime value.

Return Value

An array containing the zero-based index of the interval containing each element of values.

Exceptions

ExceptionCondition
InvalidCastExceptionvalue is of a type that can not be converted to a DateTime value.
ArgumentNullExceptionvalues is nullNothingnullptr.