pRC
multi-purpose Tensor Train library for C++
Loading...
Searching...
No Matches
Public Member Functions | List of all members
pRC::TensorViews::DirectSum< T, N, VA, VB > Class Template Reference

#include <direct_sum.hpp>

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

Public Member Functions

template<class XA , class XB , If< IsSame< VA, RemoveReference< XA > > > = 0, If< IsSame< VB, RemoveReference< XB > > > = 0>
 DirectSum (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

◆ DirectSum()

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::DirectSum< T, N, VA, VB >::DirectSum ( 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::DirectSum< 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::DirectSum< 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::DirectSum< 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::DirectSum< T, N, VA, VB >::operator() ( typename Base::Subscripts const subscripts) const
inlineconstexpr

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