Variable navtk::TENSORS_HAVE_MAX_DIM

Variable Documentation

template<size_t Dim, typename ...T>
constexpr bool navtk::TENSORS_HAVE_MAX_DIM = TENSORS_ARE_LESS_THAN_DIM<Dim + 1, T...> && !TENSORS_ARE_LESS_THAN_DIM<Dim, T...>

TENSORS_HAVE_MAX_DIM can be used as a condition in SFINAE expressions.

To evaluate to true, all listed tensors must have a maximum dimension of precisely Dim.