Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
arg_init.hpp
Go to the documentation of this file.
1 #ifndef STAN__GM__ARGUMENTS__INIT__HPP
2 #define STAN__GM__ARGUMENTS__INIT__HPP
3 
5 
6 namespace stan {
7 
8  namespace gm {
9 
10  class arg_init: public string_argument {
11 
12  public:
13 
15  _name = "init";
16  _description = std::string("Initialization method: ")
17  + std::string("\"x\" initializes randomly bewteen [-x, x], ")
18  + std::string("\"0\" initializes to 0, ")
19  + std::string("anything else identifies a file of values");
20  _default = "\"2\"";
21  _default_value = "2";
22  _constrained = false;
23  _good_value = "../src/test/test-models/test_model.init.R";
25  };
26 
27  };
28 
29  } // gm
30 
31 } // stan
32 
33 #endif
std::string _name
Definition: argument.hpp:76
std::string _description
Definition: argument.hpp:77

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