#include <math.h>
#include <stdlib.h>
#include "quadr.hpp"
Go to the source code of this file.
|
| static void | trapez (const T1DFunction &func, double a, double b, double &S, int &it, int n) |
| static void | polint (const double xa[], const double ya[], int n, double x, double &y, double &dy) |
| static void | ratint (const double xa[], const double ya[], int n, double x, double &y, double &dy) |
| double | Romberg_simple (const T1DFunction &func, double a, double b, double absacc) |
| double | Romberg (const T1DFunction &func, double a, double b, double absacc) |
| double | Romberg (const T2DFunction &func, double a, double b, double c, double d, double absacc) |
| double | Romberg (const T3DFunction &func, double a, double b, double c, double d, double e, double f, double absacc) |
◆ polint()
| void polint |
( |
const double | xa[], |
|
|
const double | ya[], |
|
|
int | n, |
|
|
double | x, |
|
|
double & | y, |
|
|
double & | dy ) |
|
static |
◆ ratint()
| void ratint |
( |
const double | xa[], |
|
|
const double | ya[], |
|
|
int | n, |
|
|
double | x, |
|
|
double & | y, |
|
|
double & | dy ) |
|
static |
◆ Romberg() [1/3]
| double Romberg |
( |
const T1DFunction & | func, |
|
|
double | a, |
|
|
double | b, |
|
|
double | absacc ) |
◆ Romberg() [2/3]
| double Romberg |
( |
const T2DFunction & | func, |
|
|
double | a, |
|
|
double | b, |
|
|
double | c, |
|
|
double | d, |
|
|
double | absacc ) |
◆ Romberg() [3/3]
| double Romberg |
( |
const T3DFunction & | func, |
|
|
double | a, |
|
|
double | b, |
|
|
double | c, |
|
|
double | d, |
|
|
double | e, |
|
|
double | f, |
|
|
double | absacc ) |
◆ Romberg_simple()
| double Romberg_simple |
( |
const T1DFunction & | func, |
|
|
double | a, |
|
|
double | b, |
|
|
double | absacc ) |
◆ trapez()
| void trapez |
( |
const T1DFunction & | func, |
|
|
double | a, |
|
|
double | b, |
|
|
double & | S, |
|
|
int & | it, |
|
|
int | n ) |
|
static |