|
numerics 0.1.0
|
LU dispatcher + utility functions (lu_solve, lu_det, lu_inv). More...
#include "linalg/factorization/lu.hpp"#include "backends/lapack/impl.hpp"#include "backends/seq/impl.hpp"Go to the source code of this file.
Namespaces | |
| namespace | num |
Functions | |
| LUResult | num::lu (const Matrix &A, Backend backend=lapack_backend) |
| void | num::lu_solve (const LUResult &f, const Vector &b, Vector &x) |
| Solve \(Ax=b\) from a precomputed \(PA=LU\) factorization. | |
| void | num::lu_solve (const LUResult &f, const Matrix &B, Matrix &X) |
| Solve \(AX=B\) from a precomputed \(PA=LU\) factorization. | |
| real | num::lu_det (const LUResult &f) |
| Compute \(\det(A)=\det(P)^{-1}\prod_i U_{ii}\). | |
| Matrix | num::lu_inv (const LUResult &f) |
| Compute \(A^{-1}\) by solving \(AX=I\). | |
LU dispatcher + utility functions (lu_solve, lu_det, lu_inv).
Definition in file lu.cpp.