GslMultiminFunctionFdfAdapter.hpp
Go to the documentation of this file.
88 std::pair<double, std::vector<double> > res = static_cast<GslMultiminFunctionFdfAdapter*>(params)->func3_(x_std);
Class implements adapter for gsl_multimin_function.
Definition: GslMultiminFunctionFdfAdapter.hpp:27
const dF & func2_
dF must be a functor calculating derivative of the function.
Definition: GslMultiminFunctionFdfAdapter.hpp:50
Definition: cadHoliday.cpp:3
static void call_fdf(const gsl_vector *x, void *params, double *f, gsl_vector *grad)
Method called by the GSL algorithm.
Definition: GslMultiminFunctionFdfAdapter.hpp:82
static double call_f(const gsl_vector *x, void *params)
Method called by the GSL algorithm.
Definition: GslMultiminFunctionFdfAdapter.hpp:55
GslMultiminFunctionFdfAdapter(const F &func1, const dF &func2, const FdF &func3, unsigned int n_)
Constructor.
Definition: GslMultiminFunctionFdfAdapter.hpp:37
const F & func1_
F must be a functor calculating the value of the function.
Definition: GslMultiminFunctionFdfAdapter.hpp:49
static void call_df(const gsl_vector *x, void *params, gsl_vector *grad)
Method called by the GSL algorithm.
Definition: GslMultiminFunctionFdfAdapter.hpp:66
const FdF & func3_
FdF must be a functor calculating value and derivative of the function.
Definition: GslMultiminFunctionFdfAdapter.hpp:51