tfel
Loading...
Searching...
No Matches
tfel::math::VectorConcept Concept Reference

definition of the VectorConcept concept a class matching the vector concept must expose the VectorTag and have access operators. More...

#include </home/runner/work/tfel/tfel/include/TFEL/Math/Vector/VectorConcept.hxx>

Concept definition

template<typename VectorType>
(std::is_same_v<typename std::decay_t<VectorType>::ConceptTag,
VectorTag>)&&
(requires(const VectorType t, const index_type<VectorType> i) {
t[i];
}) &&
(requires(const VectorType t, const index_type<VectorType> i) { t(i); })
definition of the VectorConcept concept a class matching the vector concept must expose the VectorTag...
Definition VectorConcept.hxx:43
typename MathObjectTraits< std::decay_t< MathObjectType > >::size_type index_type
a simple alias
Definition MathObjectTraits.hxx:86
Helper class to characterise vectors.
Definition VectorConcept.hxx:30

Detailed Description

definition of the VectorConcept concept a class matching the vector concept must expose the VectorTag and have access operators.