TMtxInt *UpperTriangle(TMtxInt *Mtx, bool ZeroLower, bool Diagonal);
Constructs upper triangular matrix.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Mtx | TMtxInt * | |
| 2 | ZeroLower | bool | |
| 3 | Diagonal | bool |
Remarks:
The method uses Mtx matrix to construct an upper triangular matrix. The results are stored in the calling matrix. If the ZeroLower parameter is true then the calling matrix subdiagonal elements will be set to zero - otherwise the subdiagonal 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: TMtxSmallInt::LowerTriangle
Declared in Dew::Math::TMtxInt · Dew.Math/MtxVecInt.h · Cross-compiler