SyTen

◆ push_back() [2/2]

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 >::push_back ( Type const &  val)
inline

Add element at the end by copying.

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

Referenced by syten::Basis::add(), syten::CudaDenseTensorImpl::gemm_transpose(), syten::DenseProduct::gemm_transpose(), syten::DenseProduct::is_trivial_order_a(), syten::DenseProduct::is_trivial_order_b(), syten::DenseProduct::is_trivial_order_r(), syten::IdentityDenseTensorImpl::merge(), syten::TensorProd::prod_impl(), syten::STensorImpl::SBasis::rename(), syten::IdentityDenseTensorImpl::split(), syten::DenseProduct::transpose_a(), and syten::DenseProduct::transpose_b().

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