SyTen

◆ prodD() [3/6]

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

Reordering scalar product of two CUDA dense tensors.

By default, the second tensor is not complex-conjugated, in line with the generic interface of prodD.

References syten::DenseProduct::check_dense_dims(), syten::CudaDenseTensorImpl::CudaDenseTensor< rank, Scalar >::dims, syten::dot(), syten::CudaDenseTensorImpl::CudaDenseTensor< rank, Scalar >::get_data(), syten::CudaDenseTensorImpl::CudaDenseTensor< rank, Scalar >::getDims(), syten::DenseProduct::is_trivial_order_a(), syten::DenseProduct::is_trivial_order_b(), and syten::DenseProduct::validateProductSpecifier().

+ Here is the call graph for this function: