TMtxByte::LowerTriangle Method

TMtxInt *LowerTriangle(TMtxInt *Mtx, bool ZeroUpper, bool Diagonal);

Constructs lower triangular matrix.

#NameTypeDescription
1MtxTMtxInt *
2ZeroUpperbool
3Diagonalbool
Remarks:

The method uses Mtx matrix to construct a lower triangular matrix. The results are stored in the calling matrix. If the ZeroLower parameter is true then the calling matrix superdiagonal elements will be set to zero - otherwise the superdiagonal elements will not be initialized. If the Diagonal boolean parameter is true then the Mtx matrix main diagonal elements will be copied to the calling matrix main diagonal elements. If the Diagonal parameter is false, the calling matrix main diagonal elements will be set to zero.

See Also: TMtxByte::UpperTriangle
Declared in Dew::Math::TMtxInt · Dew.Math/MtxVecInt.h · Cross-compiler