GRASS GIS 7 Programmer's Manual  7.5.svn(2017)-r71769
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends 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.

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 
)

Definition at line 180 of file brent.c.

References GSL_DBL_EPSILON.