15 #ifndef BORNAGAIN_FIT_KERNEL_PYCALLBACK_H
16 #define BORNAGAIN_FIT_KERNEL_PYCALLBACK_H
Defines class Parameters.
A collection of fit parameters.
Base class to wrap Python callable and pass it to C++.
virtual std::vector< double > call_residuals(Fit::Parameters pars)
Call Python callable and returns its result.
CallbackType m_callback_type
PyCallback(CallbackType callback_type=SCALAR)
virtual double call_scalar(Fit::Parameters pars)
Call Python callable and returns its result.
CallbackType callback_type() const