Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Classes | Typedefs | Functions
OpenMS::OptimizationFunctions Namespace Reference

Namespace for all functions and classes needed for the gsl levenberg-marquard algorithm. More...

Classes

struct  PenaltyFactorsIntensity
 Class for the penalty factors used during the optimization. More...
 
struct  PenaltyFactors
 Class for the penalty factors used during the optimization. More...
 

Typedefs

typedef std::vector< Peak1DRawDataVector
 Raw data vector type. More...
 
typedef RawDataVector::iterator PeakIterator
 Raw data iterator type. More...
 

Functions

int residual (const gsl_vector *x, void *params, gsl_vector *f)
 Evaluation of the target function for nonlinear optimization. More...
 
int jacobian (const gsl_vector *x, void *params, gsl_matrix *J)
 Compute the Jacobian of the residual, where each row of the matrix corresponds to a point in the data. More...
 
int evaluate (const gsl_vector *x, void *params, gsl_vector *f, gsl_matrix *J)
 Driver function for the evaluation of function and jacobian. More...
 
void printSignal (const gsl_vector *x, void *param, float resolution=0.25)
 Print all peak shapes. More...
 

Detailed Description

Namespace for all functions and classes needed for the gsl levenberg-marquard algorithm.

We have to use function pointers for the gsl and can't put them into a class, so we provide an extra namespace.

Typedef Documentation

typedef RawDataVector::iterator PeakIterator

Raw data iterator type.

typedef std::vector<Peak1D> RawDataVector

Raw data vector type.

Function Documentation

int OpenMS::OptimizationFunctions::evaluate ( const gsl_vector *  x,
void *  params,
gsl_vector *  f,
gsl_matrix *  J 
)

Driver function for the evaluation of function and jacobian.

Referenced by LevMarqFitter1D::optimize_(), and TraceFitter< PeakType >::optimize_().

int OpenMS::OptimizationFunctions::jacobian ( const gsl_vector *  x,
void *  params,
gsl_matrix *  J 
)

Compute the Jacobian of the residual, where each row of the matrix corresponds to a point in the data.

Referenced by LevMarqFitter1D::optimize_(), and TraceFitter< PeakType >::optimize_().

void OpenMS::OptimizationFunctions::printSignal ( const gsl_vector *  x,
void *  param,
float  resolution = 0.25 
)

Print all peak shapes.

int OpenMS::OptimizationFunctions::residual ( const gsl_vector *  x,
void *  params,
gsl_vector *  f 
)

Evaluation of the target function for nonlinear optimization.

Referenced by LevMarqFitter1D::optimize_(), and TraceFitter< PeakType >::optimize_().


OpenMS / TOPP release 1.11.1 Documentation generated on Thu Nov 14 2013 11:19:38 using doxygen 1.8.5