kyosu v0.1.0
Complex Without Complexes
 
Loading...
Searching...
No Matches

◆ dimension_v

template<typename T >
constexpr unsigned int kyosu::dimension_v = *implementation-defined*
inlineconstexpr

Obtains the number of dimensions of the algebra containing a given type.

If T satisfies kyosu::concepts::cayley_dickson, evaluates to the number of dimension of the smallest Cayley-Dickson algebra in which any instance of T can be represented.

If T models a value of \(\mathbb{R}\), evaluates to 1.

Template Parameters
TType to analyze.