SyTen

◆ prodS() [1/3]

template<Rank summed, Rank frank, typename Scalar >
std::enable_if<frank == summed, Scalar>::type syten::prodS ( SparseTensor< frank, Scalar > const &  a,
SparseTensor< frank, Scalar > const &  b,
bool  conjugate = true 
)
inline

Scalar product/full contraction of two sparse tensors, again see syten::prodD for a full discussion.

References abs(), conj(), syten::SparseTensor< rank, Scalar >::isSingleton(), SYTEN_ASSERT_DEBUG, SYTEN_EZERO_THRESHOLD, underThreshold(), and syten::SparseTensor< rank, Scalar >::valSingleton().

+ Here is the call graph for this function: