Home > @josh-brown/vector > solveByGaussianElimination
Uses Gauss-Jordan elimination with pivoting and backward substitution to solve the linear equation _Ax=b_
Signature:
export declare function solveByGaussianElimination<S>(A: Matrix<S>, b: Vector<S>): LinearSolution<S>;|
Parameter |
Type |
Description |
|---|---|---|
|
A |
Matrix<S> |
The matrix _A_ in _Ax=b_ |
|
b |
Vector<S> |
The vector _b_ in _Ax=b_ |
Returns:
The vector _x_ in _Ax=b_