lower_triangularize function
A matrix with the entries above the diagonal set to zero.
How to write it
lower_triangularize(matrix)
- matrix
- A matrix, written as a list of rows. Takes a matrix, written as a list of rows.
Examples
lower_triangularize([[1, 2], [3, 4]])In the solver,
Open in the solverlower_triangularize([[1, 2], [3, 4]])gives[[1, 0], [3, 4]].
Related functions
- upper_triangularize
A matrix with the entries below the diagonal set to zero.
- lu_decomposition
LU decomposition of a matrix: the lower and upper factors and the row order.
- kronecker_product
Kronecker product of two matrices.
- matrix_exp
Exponential of a square matrix.
- jordan_form
Jordan normal form of a square matrix.
- matrix_function
A function of a square matrix.