Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
quadr.cpp File Reference
#include <math.h>
#include <stdlib.h>
#include "quadr.hpp"
Include dependency graph for quadr.cpp:

Go to the source code of this file.

Functions

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)

Function Documentation

◆ polint()

void polint ( const double xa[],
const double ya[],
int n,
double x,
double & y,
double & dy )
static

Definition at line 66 of file quadr.cpp.

Here is the caller graph for this function:

◆ ratint()

void ratint ( const double xa[],
const double ya[],
int n,
double x,
double & y,
double & dy )
static

Definition at line 108 of file quadr.cpp.

Here is the caller graph for this function:

◆ Romberg() [1/3]

double Romberg ( const T1DFunction & func,
double a,
double b,
double absacc )

Definition at line 179 of file quadr.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Romberg() [2/3]

double Romberg ( const T2DFunction & func,
double a,
double b,
double c,
double d,
double absacc )

Definition at line 218 of file quadr.cpp.

Here is the call graph for this function:

◆ Romberg() [3/3]

double Romberg ( const T3DFunction & func,
double a,
double b,
double c,
double d,
double e,
double f,
double absacc )

Definition at line 228 of file quadr.cpp.

Here is the call graph for this function:

◆ Romberg_simple()

double Romberg_simple ( const T1DFunction & func,
double a,
double b,
double absacc )

Definition at line 155 of file quadr.cpp.

Here is the call graph for this function:

◆ trapez()

void trapez ( const T1DFunction & func,
double a,
double b,
double & S,
int & it,
int n )
static

Definition at line 39 of file quadr.cpp.

Here is the caller graph for this function: