[Home] Module Microsoft.FSharp.Compatibility.MATLAB


Functions to make F# math-related code look a bit like MATLAB (TM) code.

Values

ValueDescription
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.

See Also

Microsoft.FSharp.Compatibility


Documentation for assembly FSharp.Core, version 1.9.4.19, generated using F# version 1.9.4.19