One-dimensional minimization base class and associated functions. More...
#include <cmath>
#include <o2scl/err_hnd.h>
#include <o2scl/funct.h>
Go to the source code of this file.
Classes | |
class | o2scl::min_base< func_t, dfunc_t > |
One-dimensional minimization [abstract base]. More... | |
class | o2scl::min_bkt_base< func_t, dfunc_t > |
One-dimensional bracketing minimization [abstract base]. More... | |
class | o2scl::min_de_base< func_t, dfunc_t > |
One-dimensional minimization using derivatives [abstract base]. More... | |
Namespaces | |
o2scl | |
The main O2scl namespace. | |
Functions | |
double | o2scl::constraint (double x, double center, double width, double height) |
Constrain x to be within width of the value given by center . More... | |
double | o2scl::cont_constraint (double x, double center, double width, double height, double tightness=40.0, double exp_arg_limit=50.0) |
Constrain x to be within width of the value given by center . More... | |
double | o2scl::lower_bound (double x, double center, double width, double height) |
Constrain x to be greater than the value given by center . More... | |
double | o2scl::cont_lower_bound (double x, double center, double width, double height, double tightness=40.0, double exp_arg_limit=50.0) |
Constrain x to be greater than the value given by center . More... | |
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).