Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
base_integrator.hpp
Go to the documentation of this file.
1 #ifndef STAN__MCMC__BASE__INTEGRATOR__BETA
2 #define STAN__MCMC__BASE__INTEGRATOR__BETA
3 
4 #include <ostream>
5 
6 namespace stan {
7 
8  namespace mcmc {
9 
10  template <typename H, typename P>
12 
13  public:
14 
15  base_integrator(std::ostream* o): out_stream_(o) {};
16 
17  virtual void evolve(P& z, H& hamiltonian, const double epsilon) = 0;
18 
19  protected:
20 
21  std::ostream* out_stream_;
22 
23  };
24 
25  } // mcmc
26 
27 } // stan
28 
29 
30 #endif
base_integrator(std::ostream *o)
virtual void evolve(P &z, H &hamiltonian, const double epsilon)=0

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