Returns the lower triangle of a matrix, including the main diagonal.
LOTRI(a)
a |
- |
A matrix. |
An array of size(a) consisting of the lower triangle of a, including the main diagonal, with the other elements set to 0.
W1: ones(3)
W2: lotri(W1)
W2 == {{1, 0, 0},
{1, 1, 0},
{1, 1, 1}}
LOTRI includes the main diagonal. Use LOTRIX to exclude the main diagonal.
See TRIL to return the lower matrix below a specified diagonal.