BornAgain
1.18.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 scattering at grazing incidence
4
//
5
//! @file Fit/RootAdapter/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/RootAdapter/RootScalarFunction.h
"
16
17
RootScalarFunction::RootScalarFunction
(
root_scalar_t
fcn,
int
ndims)
18
:
ROOT
::Math::Functor(fcn, static_cast<unsigned int>(ndims))
19
{
20
}
root_scalar_t
std::function< double(const double *)> root_scalar_t
Definition:
KernelTypes.h:33
RootScalarFunction.h
Defines classes RootScalarFunction.
RootScalarFunction::RootScalarFunction
RootScalarFunction(root_scalar_t fcn, int ndims)
Definition:
RootScalarFunction.cpp:17
ROOT
Definition:
GeneticMinimizer.h:21
Fit
RootAdapter
RootScalarFunction.cpp
Generated by
1.9.1