Mantid
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Mantid::CurveFitting::GSL_FitData Struct Reference

Various GSL specific functions used GSL specific minimizers. More...

#include <GSLFunctions.h>

Public Member Functions

 GSL_FitData (const std::shared_ptr< CostFunctions::CostFuncLeastSquares > &cf)
 Constructor. More...
 
 ~GSL_FitData ()
 Destructor. More...
 

Public Attributes

std::shared_ptr< CostFunctions::CostFuncLeastSquarescostFunction
 
API::IFunction_sptr function
 Pointer to the function. More...
 
gsl_vector * initFuncParams
 Initial function parameters. More...
 
JacobianImpl1< EigenMatrixJ
 Jacobi matrix interface. More...
 
size_t n
 number of points to be fitted (size of X, Y and sqrtWeightData arrays) More...
 
size_t p
 number of (active) fit parameters More...
 

Detailed Description

Various GSL specific functions used GSL specific minimizers.

Author
Anders Markvardsen, ISIS, RAL
Date
14/05/2010 Structure to contain least squares data and used by GSL

Definition at line 28 of file GSLFunctions.h.

Constructor & Destructor Documentation

◆ GSL_FitData()

Mantid::CurveFitting::GSL_FitData::GSL_FitData ( const std::shared_ptr< CostFunctions::CostFuncLeastSquares > &  cf)

Constructor.

Creates declared -> active index map

Parameters
cf:: ICostFunction

Definition at line 168 of file GSLFunctions.cpp.

References function, initFuncParams, J, n, and p.

◆ ~GSL_FitData()

Mantid::CurveFitting::GSL_FitData::~GSL_FitData ( )

Destructor.

Definition at line 213 of file GSLFunctions.cpp.

References initFuncParams.

Member Data Documentation

◆ costFunction

std::shared_ptr<CostFunctions::CostFuncLeastSquares> Mantid::CurveFitting::GSL_FitData::costFunction

Definition at line 39 of file GSLFunctions.h.

◆ function

API::IFunction_sptr Mantid::CurveFitting::GSL_FitData::function

Pointer to the function.

Definition at line 38 of file GSLFunctions.h.

Referenced by Mantid::CurveFitting::gsl_f(), and GSL_FitData().

◆ initFuncParams

gsl_vector* Mantid::CurveFitting::GSL_FitData::initFuncParams

Initial function parameters.

Definition at line 41 of file GSLFunctions.h.

Referenced by GSL_FitData(), and ~GSL_FitData().

◆ J

JacobianImpl1<EigenMatrix> Mantid::CurveFitting::GSL_FitData::J

Jacobi matrix interface.

Definition at line 43 of file GSLFunctions.h.

Referenced by GSL_FitData().

◆ n

size_t Mantid::CurveFitting::GSL_FitData::n

number of points to be fitted (size of X, Y and sqrtWeightData arrays)

Definition at line 34 of file GSLFunctions.h.

Referenced by GSL_FitData().

◆ p

size_t Mantid::CurveFitting::GSL_FitData::p

number of (active) fit parameters

Definition at line 36 of file GSLFunctions.h.

Referenced by GSL_FitData().


The documentation for this struct was generated from the following files: