Returns the linearized index of the cell with the specified indexes in a three-dimensional DataArrayBase.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Function GetLinearIndex ( _ index1 As Object, _ index2 As Object, _ index3 As Object _ ) As Integer |
| C# |
|---|
public int GetLinearIndex ( Object index1, Object index2, Object index3 ) |
| C++ |
|---|
public: int GetLinearIndex ( Object^ index1, Object^ index2, Object^ index3 ) |
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.
- index3 (System.Object)
- An Object that specifies the index of the cell in the CategoricalScale along the third dimension.
Return Value
An integer that represents the linearized index of the cell with indexes index1, index2, and index3 in the DataArrayBase.
Exceptions
| Exception | Condition |
|---|---|
| RankException | The DataArrayBase is not three-dimensional. |