cMHN 1.2
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
pRC::TensorTrain Namespace Reference

Namespaces

namespace  OperatorViews
 
namespace  TensorViews
 

Classes

class  Operator
 
class  Operator< T, Sizes< Ms... >, Sizes< Ns... >, Sizes< Rs... > >
 
class  Tensor
 
class  Tensor< T, Sizes< Ns... >, Sizes< Rs... > >
 

Concepts

concept  IsOperator
 
concept  IsOperatorView
 
concept  IsOperatorish
 
concept  IsTensor
 
concept  IsTensorView
 
concept  IsTensorish
 

Functions

template<class... Xs>
requires (pRC::IsTensorish<RemoveReference<Xs>> && ...)
static constexpr auto fromCores (Xs &&...cores)
 
template<class T , class M , class N , class Ranks , class F >
 Operator (OperatorViews::View< T, M, N, Ranks, F > const &) -> Operator< T, M, N, Ranks >
 
template<class T , class N , class Ranks , class F >
 Tensor (TensorViews::View< T, N, Ranks, F > const &) -> Tensor< T, N, Ranks >
 

Function Documentation

◆ fromCores()

template<class... Xs>
requires (pRC::IsTensorish<RemoveReference<Xs>> && ...)
static constexpr auto pRC::TensorTrain::fromCores ( Xs &&... cores)
inlinestaticconstexpr

◆ Operator()

template<class T , class M , class N , class Ranks , class F >
pRC::TensorTrain::Operator ( OperatorViews::View< T, M, N, Ranks, F > const & ) -> Operator< T, M, N, Ranks >

◆ Tensor()

template<class T , class N , class Ranks , class F >
pRC::TensorTrain::Tensor ( TensorViews::View< T, N, Ranks, F > const & ) -> Tensor< T, N, Ranks >