MatrixWrapperStructForColumnMajorOrderLinearArray<'T> Type

Very thin wrapper structure that wraps a column major order linear array, i.e. consecutive elements of the linear array belong most probably to the same column, to provide information on number of rows and columns. Attention: this is not LAPACK convention (!)).

Constructors

Constructor Description

MatrixWrapperStructForColumnMajorOrderLinearArray(array, rows, cols)

Full Usage: MatrixWrapperStructForColumnMajorOrderLinearArray(array, rows, cols)

Parameters:
    array : '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 array.

array : 'T[]

The array to wrap.

rows : int

Number of rows.

cols : int

Number of columns.

MatrixWrapperStructForColumnMajorOrderLinearArray(rows, cols)

Full Usage: MatrixWrapperStructForColumnMajorOrderLinearArray(rows, cols)

Parameters:
    rows : int - The number of rows.
    cols : int - The number of columns.

Initializes a new instance of the MatrixWrapperStructForLeftSpineJaggedArray struct and creates the jagged matrix array.

rows : int

The number of rows.

cols : int

The number of columns.

ArgumentOutOfRangeException rows - Number of rows has to be >=0 or cols - Number of cols has to be >=0

Instance members

Instance member Description

this.Array

Full Usage: this.Array

Gets the underlying array. Access to elements is done using Array[column * Rows + row].

this.ColumnCount

Full Usage: this.ColumnCount

Modifiers: abstract

Gets the number of columns of the matrix.

this.[arg1, arg2]

Full Usage: this.[arg1, arg2]

Parameters:
    arg0 : int

Returns: int
Modifiers: abstract

arg0 : int
Returns: int

this.RowCount

Full Usage: this.RowCount

Modifiers: abstract

Gets the number of rows of the matrix.