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

#include <assignable.hpp>

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

Public Member Functions

constexpr autooperator= (Zero<> const)
 
constexpr autooperator= (Unit<> const)
 
constexpr autooperator= (Identity<> const)
 
template<class X , class R = RemoveReference<X>, If< All< IsConvertible< R, T >, IsSatisfied<(typename Base::Dimension()==0)> > > = 0>
constexpr autooperator= (X &&value)
 
template<class X , class R = RemoveReference<X>, If< IsTensorish< R > > = 0, If< IsSame< typename Base::Sizes, typename R::Sizes > > = 0, If< IsConvertible< typename R::Type, T > > = 0>
constexpr autooperator= (X &&rhs)
 
template<class X , If< IsInvocable< Add, F, X > > = 0>
constexpr auto operator+= (X &&rhs)
 
template<class X , If< IsInvocable< Sub, F, X > > = 0>
constexpr auto operator-= (X &&rhs)
 
template<class X , If< IsInvocable< Mul, X, F > > = 0>
constexpr auto applyOnTheLeft (X &&lhs)
 
template<class X , If< IsInvocable< Mul, F, X > > = 0>
constexpr auto applyOnTheRight (X &&rhs)
 
template<class X , If< IsInvocable< Mul, F, X > > = 0>
constexpr auto operator*= (X &&rhs)
 
template<class X , If< IsInvocable< Div, F, X > > = 0>
constexpr auto operator/= (X &&rhs)
 

Protected Member Functions

 ~Assignable ()=default
 
constexpr Assignable (Assignable const &)=default
 
constexpr Assignable (Assignable &&)=default
 
constexpr Assignableoperator= (Assignable const &)=delete
 
constexpr Assignableoperator= (Assignable &&)=delete
 
constexpr Assignable ()=default
 

Constructor & Destructor Documentation

◆ ~Assignable()

template<class T , class N , class F >
pRC::TensorViews::Assignable< T, N, F >::~Assignable ( )
protecteddefault

◆ Assignable() [1/3]

template<class T , class N , class F >
constexpr pRC::TensorViews::Assignable< T, N, F >::Assignable ( Assignable< T, N, F > const )
constexprprotecteddefault

◆ Assignable() [2/3]

template<class T , class N , class F >
constexpr pRC::TensorViews::Assignable< T, N, F >::Assignable ( Assignable< T, N, F > &&  )
constexprprotecteddefault

◆ Assignable() [3/3]

template<class T , class N , class F >
constexpr pRC::TensorViews::Assignable< T, N, F >::Assignable ( )
constexprprotecteddefault

Member Function Documentation

◆ applyOnTheLeft()

template<class T , class N , class F >
template<class X , If< IsInvocable< Mul, X, F > > = 0>
constexpr auto pRC::TensorViews::Assignable< T, N, F >::applyOnTheLeft ( X &&  lhs)
inlineconstexpr

◆ applyOnTheRight()

template<class T , class N , class F >
template<class X , If< IsInvocable< Mul, F, X > > = 0>
constexpr auto pRC::TensorViews::Assignable< T, N, F >::applyOnTheRight ( X &&  rhs)
inlineconstexpr

◆ operator*=()

template<class T , class N , class F >
template<class X , If< IsInvocable< Mul, F, X > > = 0>
constexpr auto pRC::TensorViews::Assignable< T, N, F >::operator*= ( X &&  rhs)
inlineconstexpr

◆ operator+=()

template<class T , class N , class F >
template<class X , If< IsInvocable< Add, F, X > > = 0>
constexpr auto pRC::TensorViews::Assignable< T, N, F >::operator+= ( X &&  rhs)
inlineconstexpr

◆ operator-=()

template<class T , class N , class F >
template<class X , If< IsInvocable< Sub, F, X > > = 0>
constexpr auto pRC::TensorViews::Assignable< T, N, F >::operator-= ( X &&  rhs)
inlineconstexpr

◆ operator/=()

template<class T , class N , class F >
template<class X , If< IsInvocable< Div, F, X > > = 0>
constexpr auto pRC::TensorViews::Assignable< T, N, F >::operator/= ( X &&  rhs)
inlineconstexpr

◆ operator=() [1/7]

template<class T , class N , class F >
constexpr Assignable & pRC::TensorViews::Assignable< T, N, F >::operator= ( Assignable< T, N, F > &&  )
constexprprotecteddelete

◆ operator=() [2/7]

template<class T , class N , class F >
constexpr Assignable & pRC::TensorViews::Assignable< T, N, F >::operator= ( Assignable< T, N, F > const )
constexprprotecteddelete

◆ operator=() [3/7]

template<class T , class N , class F >
constexpr auto & pRC::TensorViews::Assignable< T, N, F >::operator= ( Identity<> const  )
inlineconstexpr

◆ operator=() [4/7]

template<class T , class N , class F >
constexpr auto & pRC::TensorViews::Assignable< T, N, F >::operator= ( Unit<> const  )
inlineconstexpr

◆ operator=() [5/7]

template<class T , class N , class F >
template<class X , class R = RemoveReference<X>, If< IsTensorish< R > > = 0, If< IsSame< typename Base::Sizes, typename R::Sizes > > = 0, If< IsConvertible< typename R::Type, T > > = 0>
constexpr auto & pRC::TensorViews::Assignable< T, N, F >::operator= ( X &&  rhs)
inlineconstexpr

◆ operator=() [6/7]

template<class T , class N , class F >
template<class X , class R = RemoveReference<X>, If< All< IsConvertible< R, T >, IsSatisfied<(typename Base::Dimension()==0)> > > = 0>
constexpr auto & pRC::TensorViews::Assignable< T, N, F >::operator= ( X &&  value)
inlineconstexpr

◆ operator=() [7/7]

template<class T , class N , class F >
constexpr auto & pRC::TensorViews::Assignable< T, N, F >::operator= ( Zero<> const  )
inlineconstexpr

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