lsolve
lsolve(A: any[] | Mat, b: any[] | Mat) : any[]
param A
- The 'A' part of Ax=b
. A 2-D matrix, specifically a lower triangular one. See lusolve
or usolve
for variants.
param b
- The 'b' part of Ax=b
. A 1-D matrix, must be a column vector specifically. [ [1], [2], [3]]
for example.
returns: any[]
- The column vector representing the solution to the equation Ax=b
, or the part, x
.
This function finds the answer to the equation Ax=b
, or the linear equation system where x
is a column vector of the different variables.