#include <math.h>
Go to the source code of this file.
Defines | |
#define | ITMAX 100 |
#define | CGOLD 0.3819660 |
#define | ZEPS 1.0e-10 |
#define | SIGN(a, b) ((b) > 0.0 ? fabs(a) : -fabs(a)) |
#define | SHFT(a, b, c, d) (a)=(b);(b)=(c);(c)=(d); |
Functions | |
float | brent (float ax, float bx, float cx, float(*f)(float), float tol, float *xmin) |
|
Definition at line 19 of file brent.c. Referenced by brent(). |
|
Definition at line 18 of file brent.c. Referenced by brent(). |
|
|
|
|
|
Definition at line 20 of file brent.c. Referenced by brent(). |
|
Definition at line 24 of file brent.c. References CGOLD, ITMAX, SHFT, SIGN, and ZEPS. Referenced by t_direct(), t_lay(), and t_pmp(). |