Loading...
Searching...
No Matches
terra::linalg::OperatorLike Concept Reference

Concept for types that behave like linear operators. More...

#include <operator.hpp>

Concept definition

template<typename T>
concept terra::linalg::OperatorLike = requires(
const T& self_const,
T& self,
const typename T::SrcVectorType& src,
typename T::DstVectorType& dst,
dense::Vec< int, 2 > block ) {
typename T::SrcVectorType;
typename T::DstVectorType;
{ self.apply_impl( src, dst ) } -> std::same_as< void >;
}
Concept for types that behave like linear operators.
Definition operator.hpp:57
Concept for types that behave like vectors. Requires exposing ScalarType and implementations for line...
Definition vector.hpp:8

Detailed Description

Concept for types that behave like linear operators.

Requires vector types, matvec implementation, and compatibility with VectorLike.