BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
RootScalarFunction.cpp
Go to the documentation of this file.
1
// ************************************************************************************************
2
//
3
// BornAgain: simulate and fit reflection and scattering
4
//
5
//! @file Fit/Adapter/RootScalarFunction.cpp
6
//! @brief Implements class RootScalarFunction
7
//!
8
//! @homepage http://www.bornagainproject.org
9
//! @license GNU General Public License v3 or higher (see COPYING)
10
//! @copyright Forschungszentrum Jülich GmbH 2018
11
//! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12
//
13
// ************************************************************************************************
14
15
#include "
Fit/Adapter/RootScalarFunction.h
"
16
17
RootScalarFunction::RootScalarFunction
(
root_scalar_t
fcn,
int
ndims)
18
:
ROOT
::
Math
::Functor(fcn, static_cast<unsigned int>(ndims))
19
{
20
}
RootScalarFunction.h
Defines classes RootScalarFunction.
root_scalar_t
std::function< double(const double *)> root_scalar_t
Definition:
Types.h:35
RootScalarFunction::RootScalarFunction
RootScalarFunction(root_scalar_t fcn, int ndims)
Definition:
RootScalarFunction.cpp:17
Math
Various mathematical functions.
Definition:
Bessel.h:26
ROOT
Definition:
GeneticMinimizer.h:25
Fit
Adapter
RootScalarFunction.cpp
Generated by
1.9.1