pRC
multi-purpose Tensor Train library for C++
Loading...
Searching...
No Matches
Namespaces | Functions
tensor_product.hpp File Reference
#include <prc/core/functors/tensor_product.hpp>
#include <prc/core/functors/view.hpp>
#include <prc/core/tensor/views/tensor_product.hpp>

Go to the source code of this file.

Namespaces

namespace  pRC
 

Functions

template<class XA , class XB , class RA = RemoveReference<XA>, class RB = RemoveReference<XB>, If< IsTensorish< RA > > = 0, If< IsInvocable< View, XA > > = 0, If< IsTensorish< RB > > = 0, If< IsInvocable< View, XB > > = 0, class EA = ResultOf<XA, typename RA::Subscripts>, class EB = ResultOf<XB, typename RB::Subscripts>, If< IsInvocable< Mul, EA, EB > > = 0>
static constexpr auto pRC::tensorProduct (XA &&a, XB &&b)
 Calculates the tensor product of two Tensors.
 
template<class XA , class XB , class RA = RemoveReference<XA>, class RB = RemoveReference<XB>, If< IsTensorish< RA > > = 0, If< IsTensorish< RB > > = 0, If< Not< All< IsInvocable< View, XA >, IsInvocable< View, XB > > > > = 0, If< IsInvocable< TensorProduct, XA &, XB & > > = 0>
static constexpr auto pRC::tensorProduct (XA &&a, XB &&b)
 Calculates the tensor product of two Tensors.