Computes the factorization x = LU. This function is only defined for matrices and no pivoting is performed.
The function returns matrix z that contains the strictly lower triangular L without its unit diagonal, and the upper triangular U as submatrices. That is, if z = lufactorize(x), then z = U+L-E and x = LU. E is a unit matrix.
Syntax
lufactorize(x)
Types
Variable Name | Value Type | Variable Type | ||
---|---|---|---|---|
Argument: | x | real, complex | matrix | |
Result: | z | real, complex | matrix |
Calculator Input
Use the
button to complete the operation.Example
ID | Description | Type | Value | Expression | |
---|---|---|---|---|---|
x | Argument | REAL MATRIX |
| [[1,2],[3,4]] | |
z | Result | REAL MATRIX |
| lufactorize(x) |