SyTen

◆ resize()

template<typename Type , Rank max, typename MaxType = unsigned char, typename std::enable_if<(max< std::numeric_limits< MaxType >::max()), int >::type = 0>
void syten::LimVec< Type, max, MaxType, type >::resize ( Index  new_size)
inline

Resets the used value to new_size, effectively resizing the apparent vector.

References syten::max(), SYTEN_ASSERT_DEBUG, and syten::LimVec< Type, max, MaxType, type >::used.

Referenced by syten::IdentityDenseTensorImpl::merge(), and syten::IdentityDenseTensorImpl::split().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: