SyTen

◆ abs() [3/4]

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

norm of a sparse tensor, i.e. the 2-norm were the tensor reshaped into a vector

References absSqd(), and sqrt().

+ Here is the call graph for this function: