SyTen

◆ avgAbs() [3/4]

template<Rank rank>
SRDef syten::avgAbs ( Tensor< rank > const &  a)
inline

Returns the average of the absolute values of the non-zero entries in the tensor.

References std::accumulate(), avgAbs(), syten::Tensor< rank >::begin(), syten::Tensor< rank >::end(), and std::make_pair().

+ Here is the call graph for this function: