ssmkit  master-68aed98
transition_matrix.hpp
Go to the documentation of this file.
1 #ifndef SSMPACK_MODEL_TRANSITION_MATRIX_HPP
2 #define SSMPACK_MODEL_TRANSITION_MATRIX_HPP
3 
4 #include <armadillo>
5 
6 namespace ssmkit {
7 namespace map {
8 
10  using TParameter = arma::vec;
11  using TConditionVAR = int;
12 
13  TransitionMatrix(arma::mat t) : transfer{t} {}
14  // should not be overloaded, should not be template
16  return transfer.col(x);
17  }
18 
19  arma::mat transfer;
20 };
21 
22 
23 } // namespace map
24 } // namespace ssmkit
25 
26 #endif // SSMPACK_MODEL_TRANSITION_MATRIX_HPP
TParameter operator()(const TConditionVAR &x) const