<lower-matrix> ( object m n -- matrix )
Matrix operations

Prev:<upper-matrix> ( object m n -- matrix )
Next:<cartesian-square-indices> ( n -- matrix )


Vocabulary
math.matrices

Inputs
objectan object
man integer
nan integer


Outputs
matrixa matrix


Word description
Make a lower triangular matrix, where all the values above the main diagonal are 0. object will be used as the value for the nonzero part of the matrix, while m and n are used as the dimensions. The inverse of this word is <upper-matrix>. See triangular matrix.

Examples
USING: math.matrices prettyprint ; 1 5 5 <lower-matrix> .
{ { 1 0 0 0 0 } { 1 1 0 0 0 } { 1 1 1 0 0 } { 1 1 1 1 0 } { 1 1 1 1 1 } }


Definition