SyTen

◆ operator==() [1/7]

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

Returns true if all elements of the two tensors are within SYTEN_SMALL_THRESHOLD of each other.

References closeThreshold(), syten::DenseTensor< rank, Scalar >::size(), SYTEN_ASSERT_DEBUG, and SYTEN_SMALL_THRESHOLD.

+ Here is the call graph for this function: