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

Namespaces

namespace  mtl
namespace  mtl::itl

Functions

template<typename Accumulator = void, typename LinearOp, typename VecX, typename VecB, typename PC, typename Iter>
requires FieldVector<VecX>
int mtl::itl::cgs (const LinearOp &A, VecX &x, const VecB &b, const PC &M, Iter &iter)
 Conjugate Gradient Squared method for non-symmetric systems.