OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Macros | Functions
integrate.cpp File Reference
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include "Algorithms/bet/BetError.h"
#include "Algorithms/bet/math/integrate.h"
Include dependency graph for integrate.cpp:

Go to the source code of this file.

Macros

#define FUNC(x)   ((*func)(x))
 
#define JMAX   30
 
#define JMAXP   (JMAX+1)
 
#define K   5
 

Functions

double qromb (double(*func)(double), double a, double b, double eps)
 

Macro Definition Documentation

#define FUNC (   x)    ((*func)(x))

Definition at line 35 of file integrate.cpp.

#define JMAX   30

Definition at line 116 of file integrate.cpp.

Referenced by qromb().

#define JMAXP   (JMAX+1)

Definition at line 117 of file integrate.cpp.

Referenced by qromb().

#define K   5

Function Documentation

double qromb ( double(*)(double)  func,
double  a,
double  b,
double  eps 
)

Definition at line 126 of file integrate.cpp.

References fabs(), JMAX, JMAXP, K, and writeBetError().

Referenced by Profile::Labs(), Profile::Leff(), and Profile::Leff2().

Here is the call graph for this function: