Wraps a linear array to a read-only matrix.
The array is in row-major order, i.e. the first elements of the linear array belong to the first row of the matrix (the column values change more quickly).
The index of the linear array is calculated as index = column + row*NumberOfColumns
.
This representation is used for instance by C, C++, Mathematica, Pascal and Python.
Constructor | Description |
Full Usage:
RODoubleMatrixInArray1DRowMajorRepresentation(rows, columns)
Parameters:
int
columns : int
|
|
Full Usage:
RODoubleMatrixInArray1DRowMajorRepresentation(array, rows, columns)
Parameters:
float[]
rows : int
columns : int
|
|
Instance member | Description |
Full Usage:
this.ColumnCount
Returns: int
Modifiers: abstract |
|
Full Usage:
this.[arg1, arg2]
Parameters:
int
arg1 : int
Returns: float
Modifiers: abstract |
|
Full Usage:
this.RowCount
Returns: int
Modifiers: abstract |
|