Nanga Parbat 1.1.0
A TMD fitting framework
Public Member Functions | Private Attributes | List of all members
NangaParbat::FcnCeres Class Reference

The "FcnCeres" class to be used with ceres-solver to minimise the χ2. More...

#include <fcnceres.h>

Public Member Functions

 FcnCeres (ChiSquare const &chi2)
 The "FcnCeres" default constructor. More...
 
bool operator() (double const *const *parameters, double *residuals) const
 Operator required by Ceres to compute the function to be minimised. More...
 

Private Attributes

ChiSquare _chi2
 The "ChiSquare" object that returns the values of all chi2's. More...
 

Detailed Description

The "FcnCeres" class to be used with ceres-solver to minimise the χ2.

Constructor & Destructor Documentation

◆ FcnCeres()

NangaParbat::FcnCeres::FcnCeres ( ChiSquare const &  chi2)

The "FcnCeres" default constructor.

Parameters
chi2the "ChiSquare" object that returns the values of all chi2's

Member Function Documentation

◆ operator()()

bool NangaParbat::FcnCeres::operator() ( double const *const *  parameters,
double *  residuals 
) const

Operator required by Ceres to compute the function to be minimised.

Parameters
parametersthe (double) array of parameters
residualsthe array of residual

Member Data Documentation

◆ _chi2

ChiSquare NangaParbat::FcnCeres::_chi2
mutableprivate

The "ChiSquare" object that returns the values of all chi2's.


The documentation for this class was generated from the following file: