Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
nelder_mead_simplex.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NMS_ALPHA   1.0
 
#define NMS_BETA   0.5
 
#define NMS_GAMMA   2.0
 

Functions

static int simplex (double(*objfunc)(double[], void *params), double start[], int n, double EPSILON, double scale, int maxiter, void(*constrain)(double[], int n), void *params)
 

Macro Definition Documentation

◆ NMS_ALPHA

#define NMS_ALPHA   1.0

Definition at line 88 of file nelder_mead_simplex.h.

◆ NMS_BETA

#define NMS_BETA   0.5

Definition at line 91 of file nelder_mead_simplex.h.

◆ NMS_GAMMA

#define NMS_GAMMA   2.0

Definition at line 94 of file nelder_mead_simplex.h.

Function Documentation

◆ simplex()

static int simplex ( double(*)(double[], void *params)  objfunc,
double  start[],
int  n,
double  EPSILON,
double  scale,
int  maxiter,
void(*)(double[], int n constrain,
void params 
)
static

Definition at line 101 of file nelder_mead_simplex.h.

References dt_free, EPSILON, f, fc, i, IS_NULL_PTR, m, min, n, NMS_ALPHA, NMS_BETA, NMS_GAMMA, row, and v.

Referenced by _nm_fit_output_to_input_roi(), do_crop(), and nmsfit().