MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
mtl::itl::smoother::symmetric_sor< Matrix, Accumulator > Class Template Reference

Symmetric SOR (SSOR): one forward relaxed sweep immediately followed by one backward relaxed sweep per application – the relaxed analogue of symmetric Gauss-Seidel (#269). More...

#include <sor.hpp>

Public Member Functions

 symmetric_sor (const Matrix &A, value_type omega=value_type(1))
template<typename VecX, typename VecB>
VecX & operator() (VecX &x, const VecB &b) const

Detailed Description

template<FieldMatrix Matrix, typename Accumulator = void>
class mtl::itl::smoother::symmetric_sor< Matrix, Accumulator >

Symmetric SOR (SSOR): one forward relaxed sweep immediately followed by one backward relaxed sweep per application – the relaxed analogue of symmetric Gauss-Seidel (#269).

For symmetric A this application is itself symmetric (SPD-preserving), which is why Krylov methods use it as a preconditioner, hence a first-class primitive rather than a caller-side compose. omega and the optional Accumulator are carried through both sweeps.

Constructor & Destructor Documentation

◆ symmetric_sor()

template<FieldMatrix Matrix, typename Accumulator = void>
mtl::itl::smoother::symmetric_sor< Matrix, Accumulator >::symmetric_sor ( const Matrix & A,
value_type omega = value_type(1) )
inlineexplicit

Member Function Documentation

◆ operator()()

template<FieldMatrix Matrix, typename Accumulator = void>
template<typename VecX, typename VecB>
VecX & mtl::itl::smoother::symmetric_sor< Matrix, Accumulator >::operator() ( VecX & x,
const VecB & b ) const
inline

The documentation for this class was generated from the following file:
  • /home/runner/work/mtl5/mtl5/include/mtl/itl/smoother/sor.hpp