mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-18 14:59:29 +00:00
704 B
704 B
Function usolve
Solves the linear equation system by backward substitution. Matrix must be an upper triangular matrix.
U * x = b
Syntax
math.usolve(U, b);
Parameters
| Parameter | Type | Description |
|---|---|---|
A |
Matrix, Array | N x N matrix or array (U) |
A |
Matrix, Array | column vector with the b values |
Returns
| Type | Description |
|---|---|
| DenseMatrix | Array | A column vector with the linear system solution (x) |