SyTen

◆ one_times_many()

template<Rank summed, Rank frank, Rank srank, typename Scalar >
DenseTensor< frank+srank - 2 *summed, Scalar > syten::DenseProduct::one_times_many ( DenseTensor< frank, Scalar > const &  a,
DenseTensor< srank, Scalar > const &  b,
std::array< int, frank > const &  c_a,
std::array< int, srank > const &  c_b,
bool  conjugate_a,
bool  conjugate_b 
)
inline

Product of a singleton tensor and a larger tensor.

References syten::DenseTensor< rank, Scalar >::begin(), std::array< T >::begin(), syten::conj(), syten::DenseTensor< rank, Scalar >::conjugate(), std::copy(), std::array< T >::end(), std::fill(), syten::DenseTensor< rank, Scalar >::get_data(), if_constexpr, syten::No, syten::pi, syten::scale(), std::sort(), SYTEN_ASSERT_MSG, and syten::transpose().

+ Here is the call graph for this function: