SyTen

◆ normalise()

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

Normalises *this s.t. norm(*this) == 1

References syten::norm(), syten::SparseTensor< rank, Scalar >::normSquared, syten::SparseTensor< rank, Scalar >::normSquaredVld, SYTEN_ASSERT_DEBUG, and SYTEN_ZNORM_THRESHOLD.

+ Here is the call graph for this function: