SyTen

◆ this_rank

template<Rank rank>
constexpr Rank syten::Tensor< rank >::this_rank = rank
static

Helper to retrieve the tensor rank from an object of this type.

Remarks
Instead of accessing this member directly via an object arg as arg.this_rank, prefer SYTEN_TENSOR_RANK(arg), as the latter is also recognised as constexpr in clang.