Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

mnbrak.c File Reference

#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))


Define Documentation

#define GLIMIT   100.0
 

Definition at line 19 of file mnbrak.c.

Referenced by mnbrak().

#define GOLD   1.618034
 

Definition at line 18 of file mnbrak.c.

Referenced by mnbrak().

#define MAX a,
     ((a) > (b) ? (a) : (b))
 

Definition at line 21 of file mnbrak.c.

#define SHFT a,
b,
c,
     (a)=(b);(b)=(c);(c)=(d);
 

Definition at line 23 of file mnbrak.c.

#define SIGN a,
     ((b) > 0.0 ? fabs(a) : -fabs(a))
 

Definition at line 22 of file mnbrak.c.

#define TINY   1.0e-20
 

Definition at line 20 of file mnbrak.c.


Function Documentation

void mnbrak float *    ax,
float *    bx,
float *    cx,
float *    fa,
float *    fb,
float *    fc,
float(*    func)(float)
 

Definition at line 25 of file mnbrak.c.

References GLIMIT, GOLD, MAX, SHFT, and SIGN.

Referenced by t_direct(), t_lay(), and t_pmp().


Generated on Tue May 6 09:16:17 2003 for Earthworm Libs by doxygen1.3-rc3