SyTen

◆ reserve()

template<Rank rank, typename Scalar = CDef>
void syten::SparseTensor< rank, Scalar >::reserve ( Index  size)
inline

Reserves space for at least size elements.

References syten::SparseTensor< rank, Scalar >::FullData::elements, syten::SparseTensor< rank, Scalar >::fullData, syten::SparseTensor< rank, Scalar >::singleton, and syten::SparseTensor< rank, Scalar >::size().

Referenced by syten::elem_abs(), and syten::prodS().

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