Thin wrapper structure that wraps a row major order linear array, i.e. consecutive elements of the linear array belong most probably to the same row, to provide information on number of rows and columns. Attention: this is not LAPACK convention (!)). If using LAPACK, you need column major order (MatrixWrapperStructForColumnMajorOrderLinearArray).
Constructor | Description | ||
Full Usage:
MatrixWrapperStructForRowMajorOrderLinearArray(array, rows, cols)
Parameters:
'T[]
-
The array to wrap.
rows : int
-
Number of rows.
cols : int
-
Number of columns.
|
Initializes a new instance of the MatrixWrapperStructForLeftSpineJaggedArray struct by wrapping the provided row oriented array.
|
||
Full Usage:
MatrixWrapperStructForRowMajorOrderLinearArray(rows, cols)
Parameters:
int
-
The number of rows.
cols : int
-
The number of columns.
|
Initializes a new instance of the MatrixWrapperStructForLeftSpineJaggedArray struct and creates the underlying row oriented array.
|
Instance member | Description |
Full Usage:
this.Array
|
Gets the underlying array. Access to elements is done using Array[row * Columns + column]. |
Full Usage:
this.ColumnCount
Modifiers: abstract |
Gets the number of columns of the matrix. |
Full Usage:
this.[arg1, arg2]
Parameters:
int
Returns: int
Modifiers: abstract |
|
Full Usage:
this.RowCount
Modifiers: abstract |
Gets the number of rows of the matrix. |