MatrixWrapperStructForLeftSpineJaggedArray<'T> Type

Very thin wrapper structure around a jagged array just to provided number of rows and columns along with the array itself. The spine array is oriented vertically, thus access to the array is down by array[row][column].

Constructors

Constructor Description

MatrixWrapperStructForLeftSpineJaggedArray(array, rows, cols)

Full Usage: MatrixWrapperStructForLeftSpineJaggedArray(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.

MatrixWrapperStructForLeftSpineJaggedArray(rows, cols)

Full Usage: MatrixWrapperStructForLeftSpineJaggedArray(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[row][column].

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.