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

#include <single.hpp>

Inheritance diagram for pRC::TensorViews::Single< T, N >:
pRC::TensorViews::View< T, N, Single< T, N > >

Public Member Functions

template<class X , If< IsConstructible< T, X > > = 0>
 Single (X &&value, typename Base::Subscripts const &subscripts)
 
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 T operator() (typename Base::Subscripts const &subscripts) const
 

Constructor & Destructor Documentation

◆ Single()

template<class T , class N >
template<class X , If< IsConstructible< T, X > > = 0>
pRC::TensorViews::Single< T, N >::Single ( X &&  value,
typename Base::Subscripts const subscripts 
)
inline

Member Function Documentation

◆ operator()() [1/2]

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

◆ operator()() [2/2]

template<class T , class N >
constexpr T pRC::TensorViews::Single< T, N >::operator() ( typename Base::Subscripts const subscripts) const
inlineconstexpr

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