SyTen

◆ prodD() [4/4]

template<Rank r, typename Scalar >
Scalar syten::GenericDenseTensorImpl::prodD ( GenericDenseTensor< r, Scalar > const &  a,
GenericDenseTensor< r, Scalar > const &  b,
std::array< int, r > const &  c_a,
std::array< int, r > const &  c_b,
bool  conjugate = false 
)
inline

Product wrapper for generic dense tensors to scalars.

Forwards to the appropriate implementation.

Parameters
athe first tensor
bthe second tensor
c_athe product specification for the first tensor
c_bthe product specification for the second tensor
conjugateif true, complex-conjugate the elements of b

References syten::GenericDenseTensorImpl::GenericDenseTensor< rank, Scalar >::storage.