Returns the linearized index of the cell with the specified indexes in a two-dimensional DataArrayBase.

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

Syntax

Visual Basic (Declaration)
Public Function GetLinearIndex ( _
	index1 As Object, _
	index2 As Object _
) As Integer
C#
public int GetLinearIndex (
	Object index1,
	Object index2
)
C++
public:
int GetLinearIndex (
	Object^ index1, 
	Object^ index2
)

Parameters

index1 (System.Object)
An Object that specifies the index of the cell in the CategoricalScale along the first dimension.
index2 (System.Object)
An Object that specifies the index of the cell in the CategoricalScale along the second dimension.

Return Value

An integer that represents the linearized index of the cell with indexes index1 and index2 in the DataArrayBase.

Exceptions

ExceptionCondition
RankExceptionThe DataArrayBase is not two-dimensional.