SyTen

◆ operator==()

template<Rank rank, typename Scalar = CDef>
bool syten::SparseTensor< rank, Scalar >::operator== ( SparseTensor< rank, Scalar > const &  b) const
inline

Returns true if b and *this are equal.

References syten::closeThreshold(), syten::SparseTensor< rank, Scalar >::FullData::dims, syten::SparseTensor< rank, Scalar >::fullData, syten::SparseTensor< rank, Scalar >::singleton, syten::SparseTensor< rank, Scalar >::singletonValue, syten::SparseTensor< rank, Scalar >::size(), SYTEN_ASSERT_DEBUG, and SYTEN_SMALL_THRESHOLD.

+ Here is the call graph for this function: