|
int min_fminimizer::set_with_values |
( |
min_f & |
function, |
|
|
double |
minimum, |
|
|
double |
f_minimum, |
|
|
double |
x_lower, |
|
|
double |
f_lower, |
|
|
double |
x_upper, |
|
|
double |
f_upper |
|
) |
| |
Function to set or reset the minimizer with maximum and minimum function values.
- Parameters:
-
function | : function to be minimized |
minimum | : initial guess for where the minimum occurs |
x_lower | : lower bound of initial search interval |
f_lower | : lower bound of the function |
x_upper | : upper bound of initial search interval |
f_upper | : upper bound of the function |
This function is equivalent to set(..) but uses the values f_minimum, f_lower and f_upper instead of computing f(x_minimum), f(x_lower) and f(x_upper).
|