BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
KernelTypes.h File Reference

Defines common types for fitting library. More...

Go to the source code of this file.

Namespaces

 Fit
 Objective function types.
 

Typedefs

using scalar_function_t = std::function< double(const std::vector< double > &)>
 
using gradient_function_t = std::function< double(const std::vector< double > &, unsigned int, std::vector< double > &)>
 
using root_scalar_t = std::function< double(const double *)>
 
using root_gradient_t = std::function< double(const double *, unsigned int, double *)>
 
using fcn_scalar_t = std::function< double(const Fit::Parameters &)>
 
using fcn_residual_t = std::function< std::vector< double >(const Fit::Parameters &)>
 

Detailed Description

Defines common types for fitting library.

Homepage:\n http://www.bornagainproject.org
License:\n GNU General Public License v3 or higher (see COPYING)
Authors
Scientific Computing Group at MLZ (see CITATION, AUTHORS)

Definition in file KernelTypes.h.