Gromacs  2020.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Typedefs | Functions | Variables
gmx_lmcurve.h File Reference
#include "gromacs/correlationfunctions/expfit.h"
+ Include dependency graph for gmx_lmcurve.h:
+ This graph shows which files directly or indirectly include this file:

Description

Declares a driver routine for lmfit.

Author
David van der Spoel david.nosp@m..van.nosp@m.dersp.nosp@m.oel@.nosp@m.icm.u.nosp@m.u.se

Typedefs

typedef double(* t_lmcurve )(double x, const double *a)
 function type for passing to fitting routine
 

Functions

bool lmfit_exp (int nfit, const double x[], const double y[], const double dy[], double parm[], bool bVerbose, int eFitFn, int nfix)
 lmfit_exp supports fitting of different functions More...
 

Variables

t_lmcurve lmcurves [effnNR+1]
 array of fitting functions corresponding to the pre-defined types
 

Function Documentation

bool lmfit_exp ( int  nfit,
const double  x[],
const double  y[],
const double  dy[],
double  parm[],
bool  bVerbose,
int  eFitFn,
int  nfix 
)

lmfit_exp supports fitting of different functions

This routine calls the Levenberg-Marquardt non-linear fitting routine for fitting a data set with errors to a target function. Fitting routines included in gromacs in src/external/lmfit.