IROMatrixLevel1<'T> Type

Operations on matrices which do not change the matrix instance.

Instance members

Instance member Description

this.EnumerateElementsIndexed

Full Usage: this.EnumerateElementsIndexed

Parameters:
Returns: IEnumerable<int * int * 'T>
Modifiers: abstract

?zeros : Zeros
Returns: IEnumerable<int * int * 'T>

this.MapIndexed

Full Usage: this.MapIndexed

Parameters:
    function : Func<int, int, 'T, 'T> - The function to apply. First arg in the row index, 2nd arg the column index, and 3rd arg the matrix element.
    result : IMatrix<'T> - The matrix where to store the result.
    ?zeros : Zeros - Designates if zero elements (i.e. banded or sparse matrices) are allowed to omit in the mapping.

Modifiers: abstract

Elementwise mapping of a function to the elements of a matrix, and storing the result in another matrix.

function : Func<int, int, 'T, 'T>

The function to apply. First arg in the row index, 2nd arg the column index, and 3rd arg the matrix element.

result : IMatrix<'T>

The matrix where to store the result.

?zeros : Zeros

Designates if zero elements (i.e. banded or sparse matrices) are allowed to omit in the mapping.

this.MapIndexed

Full Usage: this.MapIndexed

Parameters:
    sourceParameter1 : 'T1 - Additional auxilary parameter to be passed to the function.
    function : Func<int, int, 'T, 'T1, 'T> - The function to apply. First arg in the row index, 2nd arg the column index, 3rd arg the matrix element, and 4th arg the parameter given in sourceParameter1.
    result : IMatrix<'T> - The matrix where to store the result.
    ?zeros : Zeros - Designates if zero elements (i.e. banded or sparse matrices) are allowed to omit in the mapping.

Modifiers: abstract

Elementwise mapping of a function to the elements of a matrix, and storing the result in another matrix.

sourceParameter1 : 'T1

Additional auxilary parameter to be passed to the function.

function : Func<int, int, 'T, 'T1, 'T>

The function to apply. First arg in the row index, 2nd arg the column index, 3rd arg the matrix element, and 4th arg the parameter given in sourceParameter1.

result : IMatrix<'T>

The matrix where to store the result.

?zeros : Zeros

Designates if zero elements (i.e. banded or sparse matrices) are allowed to omit in the mapping.