lu_factor_linear_system
lu_factor_linear_system(A, index, size) ⇒ boolean
Factor linear equations Ax = b using LU decomposition A = LU where L is lower triangular matrix and U is upper triangular matrix. Input is square matrix A, integer array of pivot indices index[0->n-1], and size of square matrix n. Output factorization LU is in matrix A. If error is found, method returns 0.
Kind: global function
Param | Type | Description |
---|---|---|
A | Array.<number> | Square matrix, will be modified |
index | Array.<number> | Uint32Array | will be written to |
size | number | Size of the matrix ( 4x4 matrix has size 4 ) |