SyTen

◆ prod() [2/6]

template<Rank summed, Rank frank, Rank srank>
std::enable_if_t<frank + srank - 2 * summed != 0, Tensor<frank + srank - 2 * summed> > syten::prod ( Tensor< frank > const &  a,
Tensor< srank > const &  b,
std::initializer_list< int >  l_a,
std::initializer_list< int >  l_b,
bool const  conj = false,
EliminateZeros const  ezeros = EliminateZeros::No,
SourceLocation  location = SourceLocation::current() 
)
inline

Legacy variant 3 of the Tensor-Tensor-to-Tensor product.

Parameters
afirst tensor
bsecond tensor
l_atensor target specification for first tensor
l_btensor target specification for second tensor
conjif true, complex-conjugate the second tensor
ezerosif Yes, eliminate zeros.
locationCallsite identifier.

This overload only exists to forward to the array variant (legacy variant 1) in case of two-element initialiser lists which could also be interpreted as calling to the mapping variant (legacy variant 2).

References syten::CudaDenseTensorImpl::conj().

+ Here is the call graph for this function: