|
MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
|
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 |
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.
|
inlineexplicit |
|
inline |