NuMFor 9f2ab49 (2024-04-08)
Numerical (Modern) Fortran. Library for Simple Numerical computing
|
Routine for integration of sampled values or functions by using the trapezoid rule. More...
Routine for integration of sampled values or functions by using the trapezoid rule.
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 |