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

#include <loop.hpp>

Inheritance diagram for pRC::TensorViews::Loop< T, N, F, Vs >:

Public Member Functions

template<class... Xs, If< All< IsSame< Vs, RemoveReference< Xs > >... > > = 0>
 Loop (F f, Xs &&...args)
 
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
 
template<class E = All<IsSubscriptable<Vs>...>, If< E > = 0>
constexpr decltype(autooperator[] (Index const index)
 
template<class E = All<IsSubscriptable<Vs>...>, If< E > = 0>
constexpr decltype(autooperator[] (Index const index) const
 

Constructor & Destructor Documentation

◆ Loop()

template<class T , class N , class F , class... Vs>
template<class... Xs, If< All< IsSame< Vs, RemoveReference< Xs > >... > > = 0>
pRC::TensorViews::Loop< T, N, F, Vs >::Loop ( f,
Xs &&...  args 
)
inline

Member Function Documentation

◆ operator()() [1/4]

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

◆ operator()() [2/4]

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

◆ operator()() [3/4]

template<class T , class N , class F , class... Vs>
constexpr decltype(auto) pRC::TensorViews::Loop< T, N, F, Vs >::operator() ( typename Base::Subscripts const subscripts)
inlineconstexpr

◆ operator()() [4/4]

template<class T , class N , class F , class... Vs>
constexpr decltype(auto) pRC::TensorViews::Loop< T, N, F, Vs >::operator() ( typename Base::Subscripts const subscripts) const
inlineconstexpr

◆ operator[]() [1/2]

template<class T , class N , class F , class... Vs>
template<class E = All<IsSubscriptable<Vs>...>, If< E > = 0>
constexpr decltype(auto) pRC::TensorViews::Loop< T, N, F, Vs >::operator[] ( Index const  index)
inlineconstexpr

◆ operator[]() [2/2]

template<class T , class N , class F , class... Vs>
template<class E = All<IsSubscriptable<Vs>...>, If< E > = 0>
constexpr decltype(auto) pRC::TensorViews::Loop< T, N, F, Vs >::operator[] ( Index const  index) const
inlineconstexpr

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