cMHN 1.1
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
Public Member Functions | List of all members
pRC::TensorViews::TensorProduct< T, N, VA, VB > Class Template Reference

#include <tensor_product.hpp>

Inheritance diagram for pRC::TensorViews::TensorProduct< T, N, VA, VB >:
pRC::TensorViews::View< T, N, TensorProduct< T, N, VA, VB > >

Public Member Functions

template<class XA , class XB , If< IsSame< VA, RemoveReference< XA > > > = 0, If< IsSame< VB, RemoveReference< XB > > > = 0>
 TensorProduct (XA &&a, XB &&b)
 
template<class... Is, If< All< IsConvertible< Is, Index >... > > = 0, If< IsSatisfied<(sizeof...(Is)==typename Base::Dimension())> > = 0>
constexpr decltype(autooperator() (Is const ... indices)
 
template<class... Is, If< All< IsConvertible< Is, Index >... > > = 0, If< IsSatisfied<(sizeof...(Is)==typename Base::Dimension())> > = 0>
constexpr decltype(autooperator() (Is const ... indices) const
 
constexpr decltype(autooperator() (typename Base::Subscripts const &subscripts)
 
constexpr decltype(autooperator() (typename Base::Subscripts const &subscripts) const
 

Constructor & Destructor Documentation

◆ TensorProduct()

template<class T , class N , class VA , class VB >
template<class XA , class XB , If< IsSame< VA, RemoveReference< XA > > > = 0, If< IsSame< VB, RemoveReference< XB > > > = 0>
pRC::TensorViews::TensorProduct< T, N, VA, VB >::TensorProduct ( XA && a,
XB && b )
inline

Member Function Documentation

◆ operator()() [1/4]

template<class T , class N , class VA , class VB >
template<class... Is, If< All< IsConvertible< Is, Index >... > > = 0, If< IsSatisfied<(sizeof...(Is)==typename Base::Dimension())> > = 0>
constexpr decltype(auto) pRC::TensorViews::TensorProduct< T, N, VA, VB >::operator() ( Is const ... indices)
inlineconstexpr

◆ operator()() [2/4]

template<class T , class N , class VA , class VB >
template<class... Is, If< All< IsConvertible< Is, Index >... > > = 0, If< IsSatisfied<(sizeof...(Is)==typename Base::Dimension())> > = 0>
constexpr decltype(auto) pRC::TensorViews::TensorProduct< T, N, VA, VB >::operator() ( Is const ... indices) const
inlineconstexpr

◆ operator()() [3/4]

template<class T , class N , class VA , class VB >
constexpr decltype(auto) pRC::TensorViews::TensorProduct< T, N, VA, VB >::operator() ( typename Base::Subscripts const & subscripts)
inlineconstexpr

◆ operator()() [4/4]

template<class T , class N , class VA , class VB >
constexpr decltype(auto) pRC::TensorViews::TensorProduct< T, N, VA, VB >::operator() ( typename Base::Subscripts const & subscripts) const
inlineconstexpr

The documentation for this class was generated from the following file: