Wraps a linear array to a read-only matrix.
The linear array is in column-major order, i.e. the first elements of the linear array belong to the first column of the matrix (i.e. the row values change more quickly).
The index of the linear array is calculated as index = row + column*NumberOfRows
. This representation is used for instance by LAPACK, Fortran, Julia, MATLAB, Octave, Scilab, GLSL and HLSL.
Constructor | Description |
Full Usage:
RODoubleMatrixInArray1DColumnMajorRepresentation(rows, columns)
Parameters:
int
columns : int
|
|
Full Usage:
RODoubleMatrixInArray1DColumnMajorRepresentation(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 |
|