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 
16 
18  : ROOT::Math::Functor(fcn, static_cast<unsigned int>(ndims))
19 {
20 }
std::function< double(const double *)> root_scalar_t
Definition: KernelTypes.h:33
Defines classes RootScalarFunction.
RootScalarFunction(root_scalar_t fcn, int ndims)