Loading...
Searching...
No Matches
terra::linalg::solvers::SolverLike Concept Reference

Concept for types that behave like linear solvers. Requires exposing OperatorType and a solve_impl method. See OperatorLike in operator.hpp for operator requirements. More...

#include <solver.hpp>

Concept definition

template<typename T>
T& self,
typename T::OperatorType& A,
typename T::OperatorType::SrcVectorType& x,
const typename T::OperatorType::DstVectorType& b ) {
typename T::OperatorType;
{ self.solve_impl( A, x, b ) } -> std::same_as< void >;
}
Concept for types that behave like linear operators.
Definition operator.hpp:57
Concept for types that behave like linear solvers. Requires exposing OperatorType and a solve_impl me...
Definition solver.hpp:19

Detailed Description

Concept for types that behave like linear solvers. Requires exposing OperatorType and a solve_impl method. See OperatorLike in operator.hpp for operator requirements.