MtxExpr.LowerTriangle Method

Matrix LowerTriangle(TMtx Mtx, Boolean ZeroUpper, Boolean Diagonal)

Returns the lower triangle of the matrix.

#NameTypeDescription
1MtxTMtxsource TMtx
2ZeroUpperBoolean
3DiagonalBoolean

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);
    }