Stan  2.10.0
probability, sampling & optimization
arg_init.hpp
Go to the documentation of this file.
1 #ifndef STAN_SERVICES_ARGUMENTS_ARG_INIT_HPP
2 #define STAN_SERVICES_ARGUMENTS_ARG_INIT_HPP
3 
5 #include <string>
6 
7 namespace stan {
8  namespace services {
9 
10  class arg_init: public string_argument {
11  public:
13  _name = "init";
14  _description = std::string("Initialization method: ")
15  + std::string("\"x\" initializes randomly between [-x, x], ")
16  + std::string("\"0\" initializes to 0, ")
17  + std::string("anything else identifies a file of values");
18  _default = "\"2\"";
19  _default_value = "2";
20  _constrained = false;
21  _good_value = "../src/test/test-models/test_model.init.R";
23  }
24  };
25 
26  } // services
27 } // stan
28 
29 #endif
Probability, optimization and sampling library.
std::string _description
Definition: argument.hpp:84

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