FittingFunction.h File Reference

#include <gsl/gsl_linalg.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_multifit.h>
#include <gsl/gsl_multifit_nlin.h>
#include <string>
#include <map>
#include <iostream>

Include dependency graph for FittingFunction.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  std

Classes

struct  FittingData
class  FittingFunction

Defines

#define AFX_FITTINGFUNCTION_H__149D497B_E840_4939_B085_53F191C2ACA6__INCLUDED_
#define DEBUG_FIT
#define FIT(i)   gsl_vector_get(s->x, i)
#define ERR(i)   sqrt(gsl_matrix_get(covar,i,i))

Typedefs

typedef map< string, int,
less< string >, allocator<
int > > 
STRING2INT
typedef int(* PtrFunction )(const gsl_vector *, void *, gsl_vector *)
typedef int(* PtrFunctionDerivate )(const gsl_vector *, void *, gsl_matrix *)
typedef int(* PtrFunctionAndDerivate )(const gsl_vector *, void *, gsl_vector *, gsl_matrix *)

Enumerations

enum  FittingFunctionType { GAUSSIAN, LORENTZIAN }
enum  FittingFunctionAlgorithm { LMDER, LMSDER }
enum  FittingFunctionParameter { POSITION, WIDTH, HEIGHT }


Define Documentation

#define AFX_FITTINGFUNCTION_H__149D497B_E840_4939_B085_53F191C2ACA6__INCLUDED_
 

Definition at line 6 of file FittingFunction.h.

#define DEBUG_FIT
 

Definition at line 22 of file FittingFunction.h.

#define ERR  )     sqrt(gsl_matrix_get(covar,i,i))
 

Definition at line 24 of file FittingFunction.h.

#define FIT  )     gsl_vector_get(s->x, i)
 

Definition at line 23 of file FittingFunction.h.


Typedef Documentation

typedef int(* PtrFunction)(const gsl_vector *, void *, gsl_vector *)
 

Definition at line 51 of file FittingFunction.h.

typedef int(* PtrFunctionAndDerivate)(const gsl_vector *, void *, gsl_vector *, gsl_matrix *)
 

Definition at line 55 of file FittingFunction.h.

typedef int(* PtrFunctionDerivate)(const gsl_vector *, void *, gsl_matrix *)
 

Definition at line 53 of file FittingFunction.h.

typedef map<string, int, less <string>, allocator <int> > STRING2INT
 

Definition at line 35 of file FittingFunction.h.


Enumeration Type Documentation

enum FittingFunctionAlgorithm
 

Enumerator:
LMDER 
LMSDER 

Definition at line 29 of file FittingFunction.h.

enum FittingFunctionParameter
 

Enumerator:
POSITION 
WIDTH 
HEIGHT 

Definition at line 31 of file FittingFunction.h.

enum FittingFunctionType
 

Enumerator:
GAUSSIAN 
LORENTZIAN 

Definition at line 27 of file FittingFunction.h.


Generated on Tue Apr 14 09:34:29 2009 for Data Fitting Library by  doxygen 1.4.5