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

Provides RootResidualFunction which will be minimizer by ROOT. More...

+ Inheritance diagram for Fit::ResidualFunctionAdapter:

Public Member Functions

 ResidualFunctionAdapter (fcn_residual_t func, const Parameters &parameters)
 
const RootResidualFunctionrootResidualFunction ()
 
- Public Member Functions inherited from Fit::IFunctionAdapter
int numberOfCalls () const
 
int numberOfGradientCalls () const
 

Additional Inherited Members

- Protected Attributes inherited from Fit::IFunctionAdapter
int m_number_of_calls
 
int m_number_of_gradient_calls
 

Detailed Description

Provides RootResidualFunction which will be minimizer by ROOT.

Converts ROOT calls to the call of fcn_residual_t.

Definition at line 33 of file ResidualFunctionAdapter.h.


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