int min_fminimizer::set ( min_f function,
double  minimum,
double  x_lower,
double  x_upper 
)

Function to set, or reset, an existing minimizer.

Parameters:
function: function to be minimized
minimum: initial guess for where the minimum occurs
x_lower: lower bound of initial search interval
x_upper: upper bound of initial search interval

Function to use the function f and the initial search interval [x_lower, x_upper], with a guess for the location of the minimum x_minimum. If the interval given does not contain a minimum, then the function returns an error code of GSL_EINVAL.

 All Classes Files Functions Variables Typedefs Friends Defines