cMHN 1.2
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
pRC::Solver::GMRES< M, MGS, K > Class Template Reference

#include <gmres.hpp>

Public Member Functions

constexpr GMRES (Size const maxIterations=defaultMaxIterations())
 
constexpr auto maxIterations () const
 
template<Operator::Transform OT = Operator::Transform::None, Operator::Restrict OR = Operator::Restrict::None, Operator::Hint OH = Operator::Hint::None, class XA , class RA = RemoveReference<XA>, class XB , class RB = RemoveReference<XB>, class XX = decltype(zero<RB>()), class RX = RemoveReference<XX>, IsFloat VT = Common<Value<RA>, Value<RB>, Value<RX>>>
requires IsInvocable<Apply<OT, OR, OH>, XA, XX> && IsInvocable<Sub, XB, ResultOf<Apply<OT, OR, OH>, XA, XX>>
constexpr auto operator() (XA &&A, XB &&b, XX &&x0=zero< RX >(), VT const &tolerance=NumericLimits< VT >::tolerance()) const
 

Constructor & Destructor Documentation

◆ GMRES()

template<Size M = 32, Bool MGS = true, Size K = 0>
pRC::Solver::GMRES< M, MGS, K >::GMRES ( Size const maxIterations = defaultMaxIterations())
inlineconstexpr

Member Function Documentation

◆ maxIterations()

template<Size M = 32, Bool MGS = true, Size K = 0>
auto pRC::Solver::GMRES< M, MGS, K >::maxIterations ( ) const
inlineconstexpr

◆ operator()()

template<Size M = 32, Bool MGS = true, Size K = 0>
template<Operator::Transform OT = Operator::Transform::None, Operator::Restrict OR = Operator::Restrict::None, Operator::Hint OH = Operator::Hint::None, class XA , class RA = RemoveReference<XA>, class XB , class RB = RemoveReference<XB>, class XX = decltype(zero<RB>()), class RX = RemoveReference<XX>, IsFloat VT = Common<Value<RA>, Value<RB>, Value<RX>>>
requires IsInvocable<Apply<OT, OR, OH>, XA, XX> && IsInvocable<Sub, XB, ResultOf<Apply<OT, OR, OH>, XA, XX>>
auto pRC::Solver::GMRES< M, MGS, K >::operator() ( XA && A,
XB && b,
XX && x0 = zero<RX>(),
VT const & tolerance = NumericLimits<VT>::tolerance() ) const
inlineconstexpr

The documentation for this class was generated from the following file: