Value | Description |
val diagn : Vector<'a> -> int -> Matrix<'a> |
Create a matrix containing the given vector along the nth diagonal.
The 0th index is the main diagonal, and higher indexes are further to the upper-right of the matrix.
The element type of the matrix must have an associated instance of INumeric<'a> (see [[GlobalAssociations]]) (else InvalidArgumentException).
|
val tril : Matrix<'a> -> Matrix<'a> |
The lower triangular part of a matrix including the main diagonal
|
val triln : Matrix<'a> -> int -> Matrix<'a> |
The lower triangular part of a matrix. Positive offsets indicate further into upper
upper-right triangular region. The 0th index inculdes the main diagonal.
|
val triu : Matrix<'a> -> Matrix<'a> |
The upper triangular part of a matrix including the main diagonal
|
val triun : Matrix<'a> -> int -> Matrix<'a> |
The upper triangular part of a matrix. Positive offsets indicate further into upper
upper-right triangular region. The 0th index inculdes the main diagonal.
|