#include <stdio.h>
#include <stdint.h>
#include <math.h>
#include "amoeba.h"
Go to the source code of this file.
|
short | amoeba (double *pnts, FITSTRUCT *auxdata, double(*func)(FITSTRUCT *, double[]), float tol) |
|
double | reflect (double *pnts, double y[], double psum[], short ndim, FITSTRUCT *auxdata, double(*func)(FITSTRUCT *, double[]), short ibig, float fac) |
|
◆ GET_PSUM
Value:
{ \
for (sum=0.0,
i=0;
i<ndim+1;
i++) \
sum += *(pnts +
i*ndim +
j); \
}
Definition at line 6 of file amoeba.c.
◆ amoeba()
short amoeba |
( |
double * |
pnts, |
|
|
FITSTRUCT * |
auxdata, |
|
|
double(*)(FITSTRUCT *, double[]) |
func, |
|
|
float |
tol |
|
) |
| |
◆ reflect()
double reflect |
( |
double * |
pnts, |
|
|
double |
y[], |
|
|
double |
psum[], |
|
|
short |
ndim, |
|
|
FITSTRUCT * |
auxdata, |
|
|
double(*)(FITSTRUCT *, double[]) |
func, |
|
|
short |
ibig, |
|
|
float |
fac |
|
) |
| |