Marmote Core
The project aims at realizing the prototype of a software environment dedicated to modeling with Markov chains.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations
birthDeath.h
1 #ifndef BIRTHDEATH_H
2 #define BIRTHDEATH_H
3 
4 #include "transitionStructure.h"
5 
11 {
12 
13  private:
14 
15  public:
29  bool setEntry(int row, int col, double val);
36  double getEntry(int row, int col);
45  bool addToEntry(int row, int col, double val);
52  discreteDistribution getTransitions(int); // transitions from some states
58  double rowSum(int row);
64  void write(FILE* out, bool fullForm );
65 
66  public:
74  void multVM(double* x, double *res);
82  void multMV(double* x, double *res);
83 
84 };
85 
86 #endif // BIRTHDEATH_H