![]() |
aimsdata
5.0.5
Neuroimaging data handling
|
Go to the source code of this file.
Functions | |
Romberg's numerical integration. | |
This algorithm returns the true value for polynomial functions using an adaptive trapeziodal integration. | |
void | AimsTrapezeIntegration (float(*func)(float), float a, float b, int n, float *s) |
float | AimsRombergIntegration (float(*func)(float), float a, float b, float eps=1e-6, int jmax=20, int k=5) |
float AimsRombergIntegration | ( | float(*)(float) | func, |
float | a, | ||
float | b, | ||
float | eps = 1e-6 , |
||
int | jmax = 20 , |
||
int | k = 5 |
||
) |
void AimsTrapezeIntegration | ( | float(*)(float) | func, |
float | a, | ||
float | b, | ||
int | n, | ||
float * | s | ||
) |