BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
Fit::ObjectiveFunctionAdapter Class Reference

Converts user objective function to function ROOT expects. More...

Public Member Functions

const RootScalarFunctionrootObjectiveFunction (fcn_scalar_t fcn, const Parameters &parameters)
 
const RootResidualFunctionrootResidualFunction (fcn_residual_t fcn, const Parameters &parameters)
 
int numberOfCalls () const
 
int numberOfGradientCalls () const
 

Detailed Description

Converts user objective function to function ROOT expects.

Handles time of life of function objects.

Definition at line 33 of file ObjectiveFunctionAdapter.h.


The documentation for this class was generated from the following files: