|
inline |
Reduces the number of data.first by dropping zero entries.
References syten::SparseTensor< rank, Scalar >::begin(), syten::SparseTensor< rank, Scalar >::FullData::elements, syten::SparseTensor< rank, Scalar >::end(), syten::SparseTensor< rank, Scalar >::fullData, and syten::SparseTensor< rank, Scalar >::singleton.
Referenced by syten::SparseTensor< rank, Scalar >::operator+=(), and syten::SparseTensor< rank, Scalar >::operator-=().