BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
KernelTypes.h File Reference
Include dependency graph for KernelTypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Fit
 

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.

Typedef Documentation

◆ scalar_function_t

using scalar_function_t = std::function<double(const std::vector<double>&)>

Definition at line 28 of file KernelTypes.h.

◆ gradient_function_t

using gradient_function_t = std::function<double(const std::vector<double>&, unsigned int, std::vector<double>&)>

Definition at line 30 of file KernelTypes.h.

◆ root_scalar_t

using root_scalar_t = std::function<double(const double*)>

Definition at line 33 of file KernelTypes.h.

◆ root_gradient_t

using root_gradient_t = std::function<double(const double*, unsigned int, double*)>

Definition at line 35 of file KernelTypes.h.

◆ fcn_scalar_t

using fcn_scalar_t = std::function<double(const Fit::Parameters&)>

Definition at line 37 of file KernelTypes.h.

◆ fcn_residual_t

using fcn_residual_t = std::function<std::vector<double>(const Fit::Parameters&)>

Definition at line 38 of file KernelTypes.h.