|
template<matrix_order RO, matrix_style RS, typename T , matrix_order PO1, matrix_style PS1, matrix_order PO2, matrix_style PS2>
Solve for x via forward and backward substitution, using LU decomposition.
This function solves the system of equations via forward and backward substitution and LU decomposition. A must be a non-singular square matrix for this method to work.
- Parameters:
-
A | A non-singular square Matrix to decompose. |
b | A column vector with as many rows as A. |
- See also:
- lu_solve (const Matrix<T,PO1,PS1>&, const Matrix<T,PO2,PS2>&, const Matrix<T,PO3,PS3>&, const Matrix<T,PO4,PS4>&, const Matrix<unsigned int, PO5, PS5>&)
-
lu_decomp(Matrix<T,PO1,PS1>, Matrix<T,PO2,Concrete>&, Matrix<T,PO3,Concrete>&, Matrix<unsigned int, PO4, Concrete>&)
-
chol_solve(const Matrix<T,PO1,PS1> &, const Matrix<T,PO2,PS2> &)
-
chol_solve(const Matrix<T,PO1,PS1> &, const Matrix<T,PO2,PS2> &, const Matrix<T,PO3,PS3> &)
- Exceptions:
-
|