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

#include <chip.hpp>

Inheritance diagram for pRC::TensorViews::Chip< T, N, D, V >:

Public Member Functions

template<class X , If< IsSame< V, RemoveReference< X > > > = 0>
 Chip (X &&a, Index const index)
 
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 = IsSubscriptable<V>, class L1 = IsSatisfied<(D == typename Base::Dimension())>, class L2 = IsSatisfied<(D == 0)>, If< All< E, Any< L1, L2 > > > = 0>
constexpr decltype(autooperator[] (Index const index)
 
template<class E = IsSubscriptable<V>, class L1 = IsSatisfied<(D == typename Base::Dimension())>, class L2 = IsSatisfied<(D == 0)>, If< All< E, Any< L1, L2 > > > = 0>
constexpr decltype(autooperator[] (Index const index) const
 

Constructor & Destructor Documentation

◆ Chip()

template<class T , class N , Index D, class V >
template<class X , If< IsSame< V, RemoveReference< X > > > = 0>
pRC::TensorViews::Chip< T, N, D, V >::Chip ( X && a,
Index const index )
inline

Member Function Documentation

◆ operator()() [1/4]

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

◆ operator()() [2/4]

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

◆ operator()() [3/4]

template<class T , class N , Index D, class V >
constexpr decltype(auto) pRC::TensorViews::Chip< T, N, D, V >::operator() ( typename Base::Subscripts const & subscripts)
inlineconstexpr

◆ operator()() [4/4]

template<class T , class N , Index D, class V >
constexpr decltype(auto) pRC::TensorViews::Chip< T, N, D, V >::operator() ( typename Base::Subscripts const & subscripts) const
inlineconstexpr

◆ operator[]() [1/2]

template<class T , class N , Index D, class V >
template<class E = IsSubscriptable<V>, class L1 = IsSatisfied<(D == typename Base::Dimension())>, class L2 = IsSatisfied<(D == 0)>, If< All< E, Any< L1, L2 > > > = 0>
constexpr decltype(auto) pRC::TensorViews::Chip< T, N, D, V >::operator[] ( Index const index)
inlineconstexpr

◆ operator[]() [2/2]

template<class T , class N , Index D, class V >
template<class E = IsSubscriptable<V>, class L1 = IsSatisfied<(D == typename Base::Dimension())>, class L2 = IsSatisfied<(D == 0)>, If< All< E, Any< L1, L2 > > > = 0>
constexpr decltype(auto) pRC::TensorViews::Chip< T, N, D, V >::operator[] ( Index const index) const
inlineconstexpr

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