DAS
3.1.6 - 18/09/2017
|
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <malloc.h>
#include <math.h>
#include <io.h>
#include "mgui.h"
#include "DAS_Spatram.h"
#include "dcl.h"
#include "dil.h"
#include "bil.h"
#include "DOAS.h"
#include "nrutil.h"
#include "Marq.h"
Go to the source code of this file.
Macros | |
#define | SWAP(a, b) {swap=(a);(a)=(b);(b)=swap;} |
#define | TOL 1.0e-5 |
Functions | |
void | covsrt (float **covar, int ma, int ia[], int mfit) |
long double | pythag (long double a, long double b) |
void | svbksb (long double **u, long double w[], long double **v, int m, int n, long double b[], long double x[]) |
void | svdcmp (long double **a, int m, int n, long double w[], long double **v) |
void | svdfit (float x[], float y[], float sig[], int ndata, float a[], int ma, float **u, float **v, float w[], float *chisq, void(*funcs)(float, float [], int)) |
#define SWAP | ( | a, | |
b | |||
) | {swap=(a);(a)=(b);(b)=swap;} |
void covsrt | ( | float ** | covar, |
int | ma, | ||
int | ia[], | ||
int | mfit | ||
) |
long double pythag | ( | long double | a, |
long double | b | ||
) |
void svbksb | ( | long double ** | u, |
long double | w[], | ||
long double ** | v, | ||
int | m, | ||
int | n, | ||
long double | b[], | ||
long double | x[] | ||
) |
Definition at line 99 of file SVD.C.
References dvector(), and free_dvector().
Referenced by svdfit().
void svdcmp | ( | long double ** | a, |
int | m, | ||
int | n, | ||
long double | w[], | ||
long double ** | v | ||
) |
Definition at line 132 of file SVD.C.
References DMAX, dvector(), free_vector(), IMIN, nrerror(), pythag(), and SIGN.
Referenced by svdfit().
void svdfit | ( | float | x[], |
float | y[], | ||
float | sig[], | ||
int | ndata, | ||
float | a[], | ||
int | ma, | ||
float ** | u, | ||
float ** | v, | ||
float | w[], | ||
float * | chisq, | ||
void(*)(float, float [], int) | funcs | ||
) |
Definition at line 47 of file SVD.C.
References dvector(), free_vector(), svbksb(), svdcmp(), and TOL.