Operations on matrices which do not change the matrix instance.
Instance member | Description |
Full Usage:
this.EnumerateElementsIndexed
Parameters:
Zeros
Returns: IEnumerable<int * int * 'T>
Modifiers: abstract |
|
Full Usage:
this.MapIndexed
Parameters:
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.
|
Full Usage:
this.MapIndexed
Parameters:
'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.
|