Back to LAPACK/BLAS
la.factorizations.lu
Compute the LU factorization of a general m×n matrix A.
Syntax
la.factorizations.lu(A, options?)
Description
Compute the LU factorization of a general m×n matrix A. A = P * L * U where P is a permutation matrix, L is lower triangular with unit diagonal, and U is upper triangular.
Parameters
| Name | Description |
|---|---|
| A | - Input matrix (m × n). Can be 2D array (row-major) or 1D array (column-major). |
| options(optional) | - Factorization options |
Returns
LUResult