Dedekind 0.0.0
A structuralist C++23 Module Library
Loading...
Searching...
No Matches
dedekind::category::HasFactors Concept Referenceexport

A tensor whose count is a product of factors, as many as its type bounds: a shape, so an outer product of two is one too. More...

Concept definition

template<typename X>
concept dedekind::category::HasFactors = requires(const X& x) {
decltype(count_factors(x)),
}
A tensor whose count is a product of factors, as many as its type bounds: a shape,...
Definition periodic.cppm:2022
A list of factors bounded by its type: the factors of a shape.
Definition periodic.cppm:874
constexpr AtMost< Factor< N >, 1 > count_factors(const Offsets< N > &o)
Definition comprehension.cppm:537
typename factor_word< std::ranges::range_value_t< const L > >::type word_of_t
The count word of a list of factors.
Definition periodic.cppm:877

Detailed Description

A tensor whose count is a product of factors, as many as its type bounds: a shape, so an outer product of two is one too.