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

Class storing an MHN operator represented by a theta matrix (for non TT calculations) More...

#include <mhn_operator.hpp>

Public Types

using Type = T
 

Public Member Functions

constexpr MHNOperator (pRC::Tensor< T, D, D > const &smallTheta)
 
constexpr auto & bigTheta (pRC::Index const i, pRC::Index const j) const
 
constexpr auto & bigTheta () const
 
auto & bigTheta ()
 
constexpr auto smallTheta (pRC::Index const i, pRC::Index const j) const
 
constexpr auto smallTheta () const
 

Detailed Description

template<class T, pRC::Size D>
class cMHN::nonTT::MHNOperator< T, D >

Class storing an MHN operator represented by a theta matrix (for non TT calculations)

The class internally stores the actual transition rate modifiers (usually denoted big Theta), but is initialized from the logarithmic rate modifiers (usually denoted small theta), their relation is big Theta = exp(small theta).

Template Parameters
Ttype used for calculations (usually pRC::Float<>)
Dnumber of events of the dataset

Member Typedef Documentation

◆ Type

template<class T , pRC::Size D>
using cMHN::nonTT::MHNOperator< T, D >::Type = T

Constructor & Destructor Documentation

◆ MHNOperator()

template<class T , pRC::Size D>
constexpr cMHN::nonTT::MHNOperator< T, D >::MHNOperator ( pRC::Tensor< T, D, D > const & smallTheta)
inlineconstexpr

Member Function Documentation

◆ bigTheta() [1/3]

template<class T , pRC::Size D>
auto & cMHN::nonTT::MHNOperator< T, D >::bigTheta ( )
inline

◆ bigTheta() [2/3]

template<class T , pRC::Size D>
constexpr auto & cMHN::nonTT::MHNOperator< T, D >::bigTheta ( ) const
inlineconstexpr

◆ bigTheta() [3/3]

template<class T , pRC::Size D>
constexpr auto & cMHN::nonTT::MHNOperator< T, D >::bigTheta ( pRC::Index const i,
pRC::Index const j ) const
inlineconstexpr

◆ smallTheta() [1/2]

template<class T , pRC::Size D>
constexpr auto cMHN::nonTT::MHNOperator< T, D >::smallTheta ( ) const
inlineconstexpr

◆ smallTheta() [2/2]

template<class T , pRC::Size D>
constexpr auto cMHN::nonTT::MHNOperator< T, D >::smallTheta ( pRC::Index const i,
pRC::Index const j ) const
inlineconstexpr

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