Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
fixed_param_sampler.hpp
Go to the documentation of this file.
1 #ifndef STAN__MCMC__FIXED__PARAM__SAMPLER__HPP
2 #define STAN__MCMC__FIXED__PARAM__SAMPLER__HPP
3 
4 #include <iostream>
5 #include <string>
6 
8 #include <stan/mcmc/sample.hpp>
9 
10 namespace stan {
11 
12  namespace mcmc {
13 
15 
16  public:
17 
18  fixed_param_sampler(std::ostream* o = &std::cout, std::ostream* e = 0):
19  base_mcmc(o, e) { this->name_ = "Fixed Parameter Sampler"; }
20 
21  sample transition(sample& init_sample) { return init_sample; }
22 
23 
24  };
25 
26  } // mcmc
27 
28 } // stan
29 
30 #endif
31 
sample transition(sample &init_sample)
fixed_param_sampler(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.