SyTen

◆ one_times_many()

template<Rank summed, Rank frank, Rank srank, typename Scalar >
DenseTensor<frank + srank - 2 * summed, Scalar> syten::DenseProduct::one_times_many ( [[maybe_unused] ] DenseTensor< frank, Scalar > const &  a,
[[maybe_unused] ] DenseTensor< srank, Scalar > const &  b,
[[maybe_unused] ] std::array< int, frank > const &  c_a,
[[maybe_unused] ] std::array< int, srank > const &  c_b,
[[maybe_unused] ] bool  conjugate_a,
[[maybe_unused] ] 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: