SyTen

◆ nz_abs()

template<Rank rank, typename Scalar >
ScalarBase< Scalar >::type syten::nz_abs ( DenseTensor< rank, Scalar > const &  a)
inline

Returns the sum of the absolutes of the non-zero elements.

References abs(), overThreshold(), and SYTEN_SMALL_THRESHOLD.

Referenced by avgAbs().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: