Scalar concept: Elements of vectors/matrices (can be simd vectors).
More...
#include <detray/algebra/concepts.hpp>
template<typename T>
!traits::is_matrix<T> && !traits::is_vector<T> && requires(T a, T b) {
{ a + b } -> std::convertible_to<T>;
{ a - b } -> std::convertible_to<T>;
{ a * b } -> std::convertible_to<T>;
{ a / b } -> std::convertible_to<T>;
}
Scalar concept: Elements of vectors/matrices (can be simd vectors).
Definition concepts.hpp:40
Scalar concept: Elements of vectors/matrices (can be simd vectors).