MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
solver.hpp File Reference

Namespaces

namespace  mtl
namespace  mtl::itl
namespace  mtl::itl::pc

Functions

template<typename Preconditioner, typename VectorOut, typename VectorIn>
void mtl::itl::pc::solve (const Preconditioner &P, VectorOut &x, const VectorIn &b)
 Free-function wrapper: solve(P, x, b) calls P.solve(x, b).
template<typename Preconditioner, typename VectorOut, typename VectorIn>
void mtl::itl::pc::adjoint_solve (const Preconditioner &P, VectorOut &x, const VectorIn &b)
 Free-function wrapper: adjoint_solve(P, x, b) calls P.adjoint_solve(x, b).