Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
arg_adapt_t0.hpp
Go to the documentation of this file.
1 #ifndef STAN__GM__ARGUMENTS__ADAPT__T0__HPP
2 #define STAN__GM__ARGUMENTS__ADAPT__T0__HPP
3 
5 
6 namespace stan {
7 
8  namespace gm {
9 
10  class arg_adapt_t0: public real_argument {
11 
12  public:
13 
15  _name = "t0";
16  _description = "Adaptation iteration offset";
17  _validity = "0 < t0";
18  _default = "10";
19  _default_value = 10;
20  _constrained = true;
21  _good_value = 2.0;
22  _bad_value = -1.0;
24  };
25 
26  bool is_valid(double value) { return value > 0; }
27 
28  };
29 
30  } // gm
31 
32 } // stan
33 
34 #endif
35 
std::string _name
Definition: argument.hpp:76
bool is_valid(double value)
std::string _description
Definition: argument.hpp:77

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