TwiceAsNice
2019-02-18
|
Classes | |
struct | poly |
Macros | |
#define | POLY_MAXDIM 4 /* Max dimensionality of polynom */ |
#define | POLY_MAXDEGREE 10 /* Max degree of the polynom */ |
#define | POLY_TINY 1e-30 /* A tiny number */ |
Typedefs | |
typedef struct poly | polystruct |
Functions | |
polystruct * | poly_copy (polystruct *poly) |
polystruct * | poly_init (int *group, int ndim, int *degree, int ngroup) |
double | poly_func (polystruct *poly, double *pos) |
int | cholsolve (double *a, double *b, int n) |
int * | poly_powers (polystruct *poly) |
void | poly_addcste (polystruct *poly, double *cste) |
void | poly_end (polystruct *poly) |
void | poly_fit (polystruct *poly, double *x, double *y, double *w, int ndata, double *extbasis) |
void | poly_solve (double *a, double *b, int n) |
#define POLY_MAXDEGREE 10 /* Max degree of the polynom */ |
#define POLY_MAXDIM 4 /* Max dimensionality of polynom */ |
#define POLY_TINY 1e-30 /* A tiny number */ |
typedef struct poly polystruct |
int cholsolve | ( | double * | a, |
double * | b, | ||
int | n | ||
) |
void poly_addcste | ( | polystruct * | poly, |
double * | cste | ||
) |
polystruct* poly_copy | ( | polystruct * | poly | ) |
void poly_end | ( | polystruct * | poly | ) |
void poly_fit | ( | polystruct * | poly, |
double * | x, | ||
double * | y, | ||
double * | w, | ||
int | ndata, | ||
double * | extbasis | ||
) |
double poly_func | ( | polystruct * | poly, |
double * | pos | ||
) |
polystruct * poly_init | ( | int * | group, |
int | ndim, | ||
int * | degree, | ||
int | ngroup | ||
) |
int * poly_powers | ( | polystruct * | poly | ) |
void poly_solve | ( | double * | a, |
double * | b, | ||
int | n | ||
) |