SyTen

◆ absSqd()

template<Rank rank, typename Scalar = CDef>
template<typename RetScalar = Scalar>
ScalarBase< RetScalar >::type syten::SparseTensor< rank, Scalar >::absSqd ( ) const
inline

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

References syten::conj(), syten::SparseTensor< rank, Scalar >::isSingleton(), syten::SparseTensor< rank, Scalar >::normSquared, syten::SparseTensor< rank, Scalar >::normSquaredMtx, syten::SparseTensor< rank, Scalar >::normSquaredVld, syten::real(), and syten::SparseTensor< rank, Scalar >::singletonValue.

+ Here is the call graph for this function: