Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static TriangularMatrix<T> ExtractLowerTriangle<T>(
DenseMatrix<T> matrix,
int rowCount,
int columnCount,
MatrixDiagonal unitDiagonal
)
Public Shared Function ExtractLowerTriangle(Of T) (
matrix As DenseMatrix(Of T),
rowCount As Integer,
columnCount As Integer,
unitDiagonal As MatrixDiagonal
) As TriangularMatrix(Of T)
public:
generic<typename T>
static TriangularMatrix<T>^ ExtractLowerTriangle(
DenseMatrix<T>^ matrix,
int rowCount,
int columnCount,
MatrixDiagonal unitDiagonal
)
static member ExtractLowerTriangle :
matrix : DenseMatrix<'T> *
rowCount : int *
columnCount : int *
unitDiagonal : MatrixDiagonal -> TriangularMatrix<'T>
Parameters
- matrix
- Type: Extreme.Mathematics.LinearAlgebraDenseMatrixT
A DenseMatrixT. - rowCount
- Type: SystemInt32
The number of rows in the
TriangularMatrixT. - columnCount
- Type: SystemInt32
The number of columns in the
TriangularMatrixT. - unitDiagonal
- Type: Extreme.MathematicsMatrixDiagonal
If , the matrix
is unit triangular. Only the elements below the diagonal
in matrix are considered. If ,
the diagonal elements of matrix are
taken as the diagonal elements of the triangular matrix.
Type Parameters
- T
Return Value
Type:
TriangularMatrixTA
TriangularMatrixT whose elements
are contained in the lower triangular portion of
matrix.
Exception | Condition |
---|
ArgumentNullException | matrix is .
|
ArgumentOutOfRangeException | rowCount is less than zero or greater than or equal to the number of
rows in matrix. -or- columnCount is less than zero or greater than or equal to the number of
columns in matrix. |
Reference