STensor syten::STensorImpl::prod_impl_impl | ( | SourceLocation const & | location, |
STensorProxy const & | a, | ||
STensorProxy const & | b, | ||
std::array< int, ra > const & | c_a, | ||
std::array< int, rb > const & | c_b, | ||
Vec< SBasis > | result_basis, | ||
Vec< Index > | ferm_r | ||
) |
Second helper for STensor
-STensor
products.
Called from prod_impl()
. This function already has all relevant ranks as template parameters and can hence call the appropriate TensorProd::prod_impl()
template functions for specific tensors.
References syten::SourceLocation::column(), conj(), syten::SourceLocation::file_name(), syten::STensorImpl::STensorProxy::get(), syten::STensorImpl::STensorProxy::get_fermionic_order(), syten::STensorImpl::STensorProxy::get_parities(), if_constexpr, syten::STensorImpl::STensorProxy::is_conjugated(), syten::STensorImpl::STensorProxy::is_elimzeros(), syten::SourceLocation::line(), std::move(), syten::EnvVars::stensor_handle_ferm, SYTEN_ASSERT_MSG, SYTEN_STENSOR_MAX_RANK, and syten::YesNo< struct _prod_conj >::y().