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

#include <random.hpp>

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

Public Member Functions

 Random (RandomEngine &rng, D< typename T::Value > &distribution)
 
template<class... Is, If< All< IsConvertible< Is, Index >... > > = 0, If< IsSatisfied<(sizeof...(Is)==typename Base::Dimension())> > = 0>
constexpr decltype(autooperator() (Is const ... indices)
 
constexpr decltype(autooperator() (typename Base::Subscripts const &subscripts)
 
constexpr decltype(autooperator[] (Index const index)
 

Constructor & Destructor Documentation

◆ Random()

template<class T , class N , template< class... > class D>
pRC::TensorViews::Random< T, N, D >::Random ( RandomEngine rng,
D< typename T::Value > &  distribution 
)
inline

Member Function Documentation

◆ operator()() [1/2]

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

◆ operator()() [2/2]

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

◆ operator[]()

template<class T , class N , template< class... > class D>
constexpr decltype(auto) pRC::TensorViews::Random< T, N, D >::operator[] ( Index const  index)
inlineconstexpr

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