#include <math.h>
Go to the source code of this file.
Defines | |
#define | GOLD 1.618034 |
#define | GLIMIT 100.0 |
#define | TINY 1.0e-20 |
#define | MAX(a, b) ((a) > (b) ? (a) : (b)) |
#define | SIGN(a, b) ((b) > 0.0 ? fabs(a) : -fabs(a)) |
#define | SHFT(a, b, c, d) (a)=(b);(b)=(c);(c)=(d); |
Functions | |
void | mnbrak (float *ax, float *bx, float *cx, float *fa, float *fb, float *fc, float(*func)(float)) |
|
Definition at line 19 of file mnbrak.c. Referenced by mnbrak(). |
|
Definition at line 18 of file mnbrak.c. Referenced by mnbrak(). |
|
|
|
|
|
|
|
|
|
Definition at line 25 of file mnbrak.c. References GLIMIT, GOLD, MAX, SHFT, and SIGN. Referenced by t_direct(), t_lay(), and t_pmp(). |