|
pRC
multi-purpose Tensor Train library for C++
|
#include <prc/core/functors/kronecker_product.hpp>#include <prc/core/functors/view.hpp>#include <prc/core/tensor/functions/broadcast.hpp>#include <prc/core/tensor/functions/hadamard_product.hpp>#include <prc/core/tensor/functions/inflate.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, If< IsSame< typename RA::Dimension, typename RB::Dimension > > = 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::kroneckerProduct (XA &&a, XB &&b) |
| Calculates the Kronecker 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< KroneckerProduct, XA &, XB & > > = 0> | |
| static constexpr auto | pRC::kroneckerProduct (XA &&a, XB &&b) |
| Calculates the Kronecker product of two Tensors. | |