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

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