Stan  2.10.0
probability, sampling & optimization
arg_x_delta.hpp
Go to the documentation of this file.
1 #ifndef STAN_SERVICES_ARGUMENTS_ARG_X_DELTA_HPP
2 #define STAN_SERVICES_ARGUMENTS_ARG_X_DELTA_HPP
3 
5 
6 namespace stan {
7  namespace services {
8 
9  class arg_x_delta: public real_argument {
10  public:
12  _name = "x_delta";
13  _description = "Exhaustion tolerance";
14  _validity = "0 < x_delta";
15  _default = "0.1";
16  _default_value = 0.1;
17  _constrained = true;
18  _good_value = 0.1;
19  _bad_value = -0.1;
21  }
22 
23  bool is_valid(double value) { return value > 0; }
24  };
25 
26  } // services
27 } // stan
28 
29 #endif
Probability, optimization and sampling library.
std::string _description
Definition: argument.hpp:84
bool is_valid(double value)
Definition: arg_x_delta.hpp:23

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