SyTen

◆ isZero()

template<Rank rank, typename Scalar >
bool syten::OffsetDenseTensorImpl::isZero ( OffsetDenseTensor< rank, Scalar > const &  a)
inline

Returns true iff all elements of the offset dense tensor a are identically zero.

References syten::OffsetDenseTensorImpl::OffsetDenseTensor< rank, Scalar >::cbegin(), and syten::OffsetDenseTensorImpl::OffsetDenseTensor< rank, Scalar >::cend().

+ Here is the call graph for this function: