NuMFor 9f2ab49 (2024-04-08)
Numerical (Modern) Fortran. Library for Simple Numerical computing
|
Routines for integration of sampled values or functions by using Simpson rule. More...
Routines for integration of sampled values or functions by using Simpson rule.
The use of this routine is simlar to the use of trapz
. For integration of a real-valued and complex-valued function f
the following calls are valid
Here:
[in] | f | is a real or complex function |
[in] | a | (real) Lower limit of integration |
[in] | b | (real) Upper limit of integration |
[in] | N | (integer) Number of equally-spaced points to use |
[in] | x | (real, array) Points where the function will be evaluated |
For sampled values it accepts several input formats,
Here:
[in] | y | is a real or complex array |
[in] | a | (real) Lower limit of integration |
[in] | b | (real) Upper limit of integration |
[in] | dh | (real) Space between points in the x-axis |
[in] | x | (real, array) Points where the function is evaluated |