SyTen

◆ SYTEN_EZERO_THRESHOLD

const SYTEN_SRDEF_TYPE SYTEN_EZERO_THRESHOLD = std::pow(std::numeric_limits<SYTEN_SRDEF_TYPE>::epsilon(), 11./16.)

An element is considered zero during EliminateZero::Yes processing if it is smaller than this times the element-specific threshold.

Referenced by syten::addScaled(), syten::OffsetDenseTensorImpl::addScaled(), syten::eliminate_to_zero(), syten::Pyten::init_misc(), syten::SparseTensor< rank, Scalar >::operator+=(), syten::SparseTensor< rank, Scalar >::operator-=(), syten::prodS(), and syten::prune_small_reim().