SOT
common.h
1 
8 #ifndef SOT_COMMON_H
9 #define SOT_COMMON_H
10 
11 #include <armadillo>
12 #include <random>
13 
15 namespace sot {
16  typedef arma::mat mat;
17  typedef arma::vec vec;
18  typedef arma::rowvec rowvec;
19  typedef arma::fmat fmat;
20  typedef arma::fvec fvec;
21  typedef arma::Col<int> ivec;
22  typedef arma::uvec uvec;
24  namespace rng {
26  std::mt19937 mt(0);
27  }
28 }
29 
30 #endif
arma::vec vec
Default (column) vector class.
Definition: common.h:17
arma::uvec uvec
Default unsigned (column) vector class.
Definition: common.h:22
arma::fmat fmat
Default single precision matrix class.
Definition: common.h:19
arma::Col< int > ivec
Default index (column) vector class.
Definition: common.h:21
arma::fvec fvec
Default single precision (column) vector class.
Definition: common.h:20
SOT namespace.
Definition: sot.h:27
std::mt19937 mt(0)
The global random number generator.
arma::mat mat
Default matrix class.
Definition: common.h:16
arma::rowvec rowvec
Default (row) vector class.
Definition: common.h:18