GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
brent.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <float.h>
Include dependency graph for brent.c:

Go to the source code of this file.

Data Structures

struct  brent_state_t
 

Macros

#define GSL_SQRT_DBL_EPSILON   1.e-4
 
#define GSL_DBL_EPSILON   1.e-8
 

Functions

double brent_iterate (double(*f)(), double x_lower, double x_upper, int maxiter)
 

Macro Definition Documentation

#define GSL_DBL_EPSILON   1.e-8

Definition at line 31 of file brent.c.

Referenced by brent_iterate().

#define GSL_SQRT_DBL_EPSILON   1.e-4

Definition at line 30 of file brent.c.

Function Documentation

double brent_iterate ( double(*)()  f,
double  x_lower,
double  x_upper,
int  maxiter 
)