15 #ifndef BORNAGAIN_FIT_KERNEL_KERNELTYPES_H
16 #define BORNAGAIN_FIT_KERNEL_KERNELTYPES_H
28 using scalar_function_t = std::function<double(
const std::vector<double>&)>;
30 using gradient_function_t =
31 std::function<double(
const std::vector<double>&,
unsigned int, std::vector<double>&)>;
33 using root_scalar_t = std::function<double(
const double*)>;
35 using root_gradient_t = std::function<double(
const double*,
unsigned int,
double*)>;
38 using fcn_residual_t = std::function<std::vector<double>(
const Fit::Parameters&)>;
A collection of fit parameters.
Objective function types.