|
cMHN 1.0
C++ library for learning MHNs with pRC
|
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 &theta) |
| constexpr auto & | theta (pRC::Index const i, pRC::Index const j) const |
| constexpr auto & | theta () const |
| auto & | theta () |
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 Theta), but is initialized from the logarithmic rate modifiers (usually denoted theta), their relation is Theta = exp(theta).
| T | type used for calculations (usually pRC::Float<>) |
| D | number of events of the dataset |
| using cMHN::nonTT::MHNOperator< T, D >::Type = T |
|
inlineconstexpr |
|
inline |
|
inlineconstexpr |
|
inlineconstexpr |