Matrix LowerTriangle(TMtx Mtx, Boolean ZeroUpper, Boolean Diagonal)
Returns the lower triangle of the matrix.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Mtx | TMtx | source TMtx |
| 2 | ZeroUpper | Boolean | |
| 3 | Diagonal | Boolean |
Returns: Matrix
Remarks:
Internally calls Dew.Math.Matrix.LowerTriangle
Examples
TMtx A;
TMtx B;
MtxVec.CreateIt(out A, out B);
try
{
A.SetIt(2,1,true,[1,2,
2,4]); // 2x2, !complex matrix
B.LowerTriangle(A,true,true);
// B becomes:
// [1,0,
// [2,4]
}
finally
{
MtxVec.FreeIt(ref A, ref B);
}