EmrysFilter 0.1.0
State estimation utilities in C++23 using Eigen
Loading...
Searching...
No Matches
Emrys::MatrixExpression Concept Reference

A dense matrix or matrix expression, possibly cv- or reference-qualified: what a const Eigen::MatrixBase<Derived>& parameter accepts. More...

#include <EmrysFilter/Core/Forwarding.h>

Concept definition

template<typename T>
concept MatrixExpression = requires { typename internal::CrtpDerived<T>; }
&& std::derived_from<std::remove_cvref_t<T>, Eigen::MatrixBase<internal::CrtpDerived<T>>>
A dense matrix or matrix expression, possibly cv- or reference-qualified: what a const Eigen::MatrixB...
Definition Forwarding.h:39

Detailed Description

A dense matrix or matrix expression, possibly cv- or reference-qualified: what a const Eigen::MatrixBase<Derived>& parameter accepts.

It constrains the forwarding references of functions that store their argument, so that a plain matrix passed as an rvalue is moved rather than copied (decisions.md [forwarded-matrices]); a user's function that stores a matrix takes one the same way.