SyTen
generic_prod.h File Reference

Generic dense tensor products. More...

+ Include dependency graph for generic_prod.h:
+ This graph shows which files directly or indirectly include this file:

Namespaces

namespace  syten
 Syten namespace.
 
namespace  syten::GenericDenseTensorImpl
 Implementation for the generic dense tensor.
 

Functions

template<Rank summed, Rank frank, Rank srank, typename Scalar , typename A , typename B >
GenericDenseTensor< frank+srank - 2 *summed, Scalar > syten::GenericDenseTensorImpl::prodD (A const &, B const &, std::array< int, frank > const &, std::array< int, srank > const &, bool=false, EliminateZeros const =EliminateZeros::No, DenseProduct::TemporaryTransposeStorage< Scalar, frank, srank > *=nullptr)
 Dummy implementation for unsupported/unimplemented dense tensor products. More...
 
template<Rank r, typename Scalar , typename A , typename B >
Scalar syten::GenericDenseTensorImpl::prodD (A const &, B const &, std::array< int, r > const &, std::array< int, r > const &, bool=false)
 Dummy implementation for unsupported/unimplemented dense tensor products to scalars. More...
 
template<Rank summed, Rank frank, Rank srank, typename Scalar , std::enable_if_t<(int(frank)+int(srank) - 2 *int(summed) > 0), int > = 0>
GenericDenseTensor< frank+srank - 2 *summed, Scalar > syten::GenericDenseTensorImpl::prodD (GenericDenseTensor< frank, Scalar > const &a, GenericDenseTensor< srank, Scalar > const &b, std::array< int, frank > const &c_a, std::array< int, srank > const &c_b, bool conjugate=false, EliminateZeros const ezeros=EliminateZeros::No, DenseProduct::TemporaryTransposeStorage< Scalar, frank, srank > *tts=nullptr)
 Product wrapper for generic dense tensors. More...
 
template<Rank r, typename Scalar >
Scalar syten::GenericDenseTensorImpl::prodD (GenericDenseTensor< r, Scalar > const &a, GenericDenseTensor< r, Scalar > const &b, std::array< int, r > const &c_a, std::array< int, r > const &c_b, bool conjugate=false)
 Product wrapper for generic dense tensors to scalars. More...
 

Detailed Description

Generic dense tensor products.