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(), syten::Tensor< rank >::begin(), and syten::Tensor< rank >::end().

+ Here is the call graph for this function: