trapezoidal_integral(3f) - [M_math] trapezoidal integration
Synopsis
Description
Options
Returns
Example
subroutine trapezoidal_integral(x,y,ivals,y2)
real,intent(in) :: x(*), y(*) real,intent(out) :: y2(*) integer :: ivals
Given the arrays X() and Y(), use trapezoidal integration to generate the integral of Y and return it as Y2().
X input X values Y input Y values ivals size of X and Y arrays
Y2 integral of the curve <X,Y>
Nemo Release 3.1 | trapezoidal_integral (3) | February 23, 2025 |