|
MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
|
Identity preconditioner – solve(x, b) simply copies b into x. More...
#include <identity.hpp>
Public Member Functions | |
| identity (const Matrix &) | |
| template<typename VectorOut, typename VectorIn> | |
| void | solve (VectorOut &x, const VectorIn &b) const |
| solve: x = b (identity preconditioning) | |
| template<typename VectorOut, typename VectorIn> | |
| void | adjoint_solve (VectorOut &x, const VectorIn &b) const |
| adjoint_solve: same as solve (self-adjoint) | |
Identity preconditioner – solve(x, b) simply copies b into x.
Satisfies the Preconditioner concept. Stores nothing.
|
inlineexplicit |
|
inline |
adjoint_solve: same as solve (self-adjoint)
|
inline |
solve: x = b (identity preconditioning)