Concept for a backend's vector-level operations: size, axpby, a plain inner product, and deep_copy.
#include <solver_backends.hpp>
template<class Backend, class Vector>
{ Backend::size(x) } -> std::convertible_to<size_t>;
{ Backend::axpby(a, x, a, y) } -> std::same_as<void>;
{ Backend::deep_copy(y, x) };
}
Concept for a backend's vector-level operations: size, axpby, a plain inner product,...
Definition solver_backends.hpp:59
AVector< T, N, Array< T, N > > Vector
Type alias for a vector with the default accessor (Array<T, N>) This prevents the need to write AVect...
Definition Vector.hpp:534
constexpr auto dot(const AQuaternion< U, Accessor1 > &q1, const AQuaternion< T, Accessor2 > &q2)
Get the dot product of two quaternions.
Definition Quaternion.hpp:731