LM_fit.h File Reference

Levenbaerg-Marquardt non linear data fit routine. More...

#include "basics.h"
#include "vector.h"
#include "matrix.h"
#include "constants.h"
#include "solver/gauss_jordan.h"
#include <signal.h>

Include dependency graph for LM_fit.h:

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

Go to the source code of this file.

Namespaces

namespace  TBCI

Defines

#define DELTAX   1e-30
#define DELTA(i, j)   ((i==j)?1:0)
 the kronecker delta
#define CON2   2.0
#define CON   SQRT2
#define BIG   1.0e30
#define NTAB   10
#define SAFE   2.0

Functions

template<typename T>
int TBCI::Basis_Trafo (long int value, long int basis, Vector< T > &index)
template<typename T>
TBCI::Partial_Del (T(*func)(const Vector< T > &, const Vector< T > &), const Vector< T > &x, const Vector< T > &p, int mu, T h, T &err)
template<typename T>
TBCI::Chisq (Vector< T > &data, Vector< T > &func, Vector< T > &sig)
template<typename T>
TBCI::Chisquare_2D (T(*func)(const Vector< T > &, const Vector< T > &), Vector< T > &param, Vector< T > &x, Vector< T > &y, Vector< T > &z, Vector< T > &sigma)
template<typename T>
TVector< T > TBCI::Grid_Min_2D (T(*func)(const Vector< T > &, const Vector< T > &), Vector< T > &x, Vector< T > &y, Vector< T > &z, Vector< T > &sig, Vector< T > &pmin, Vector< T > &pmax, Vector< T > &lambda, long int res, int max_it, char v)
template<typename T>
TBCI::LM_fit_2D (Vector< T > &x, Vector< T > &y, Vector< T > &z, Vector< T > &sig, Vector< T > &param, Vector< T > &plow, Vector< T > &phigh, T(*func)(const Vector< T > &, const Vector< T > &), Vector< T > lambda, Vector< T > &lscale, T tol, int iter, char ver)


Detailed Description

Levenbaerg-Marquardt non linear data fit routine.

Definition in file LM_fit.h.


Define Documentation

#define BIG   1.0e30

Definition at line 88 of file LM_fit.h.

Referenced by TBCI::partial_del(), and TBCI::Partial_Del().

#define CON   SQRT2

Definition at line 87 of file LM_fit.h.

Referenced by TBCI::partial_del(), and TBCI::Partial_Del().

#define CON2   2.0

Definition at line 86 of file LM_fit.h.

Referenced by TBCI::partial_del(), and TBCI::Partial_Del().

#define DELTA ( i,
 )     ((i==j)?1:0)

the kronecker delta

Definition at line 53 of file LM_fit.h.

Referenced by TBCI::lev_mar(), and TBCI::LM_fit_2D().

#define DELTAX   1e-30

Definition at line 49 of file LM_fit.h.

Referenced by TBCI::grid_min(), and TBCI::Grid_Min_2D().

#define NTAB   10

Definition at line 89 of file LM_fit.h.

Referenced by TBCI::partial_del(), and TBCI::Partial_Del().

#define SAFE   2.0

Definition at line 90 of file LM_fit.h.

Referenced by TBCI::partial_del(), and TBCI::Partial_Del().


Generated on Wed Nov 20 09:28:11 2013 for TBCI Numerical high perf. C++ Library by  doxygen 1.5.6