Loading [MathJax]/extensions/tex2jax.js
SyTen
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages

◆ checkDimensions()

template<Rank rank, typename Scalar >
void syten::DenseImpl::checkDimensions ( Coord< rank > const &  dims)
inline

Checks that the supplied dimensions are within an acceptable range, in particular do not result in a tensor that is too large (meaning that the syten::Index type would no longer suffice to index into it).

References SYTEN_ASSERT_MSG.