Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
diag_e_static_hmc.hpp
Go to the documentation of this file.
1 #ifndef STAN__MCMC__DIAG__E__STATIC__HMC__BETA
2 #define STAN__MCMC__DIAG__E__STATIC__HMC__BETA
3 
8 
9 namespace stan {
10 
11  namespace mcmc {
12 
13  // Hamiltonian Monte Carlo on a
14  // Euclidean manifold with diagonal metric
15  // and static integration time
16 
17  template <typename M, class BaseRNG>
19  diag_e_point,
20  diag_e_metric,
21  expl_leapfrog,
22  BaseRNG> {
23 
24  public:
25 
26  diag_e_static_hmc(M &m, BaseRNG& rng, std::ostream* o = &std::cout, std::ostream* e = 0):
27  base_static_hmc<M, diag_e_point, diag_e_metric, expl_leapfrog, BaseRNG>(m, rng, o, e)
28  { this->name_ = "Static HMC with a diagonal Euclidean metric"; }
29 
30 
31  };
32 
33  } // mcmc
34 
35 } // stan
36 
37 
38 #endif
diag_e_static_hmc(M &m, BaseRNG &rng, std::ostream *o=&std::cout, std::ostream *e=0)
double e()
Return the base of the natural logarithm.
Definition: constants.hpp:86

     [ Stan Home Page ] © 2011–2014, Stan Development Team.