Gets the index of the interval containing a value.

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

Syntax

Visual Basic (Declaration)
Public Function Map ( _
	value As Object, _
	formatProvider As IFormatProvider _
) As Integer
C#
public int Map (
	Object value,
	IFormatProvider formatProvider
)
C++
public:
int Map (
	Object^ value, 
	IFormatProvider^ formatProvider
)

Parameters

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

Return Value

The zero-based index of the interval containing value.

Exceptions

ExceptionCondition
InvalidCastExceptionvalue is of a type that can not be converted to a Double.