C Library Functions - trapezoidal_integral (3)
NAME
trapezoidal_integral(3f) - [M_math] trapezoidal integration
CONTENTS
Synopsis
Description
Options
Returns
Example
SYNOPSIS
subroutine trapezoidal_integral(x,y,ivals,y2)
real,intent(in) :: x(*), y(*)
real,intent(out) :: y2(*)
integer :: ivals
DESCRIPTION
Given the arrays X() and Y(), use trapezoidal integration
to generate the integral of Y and return it as Y2().
OPTIONS
|
X |
input X values
|
|
Y |
input Y values
|
|
ivals |
size of X and Y arrays
|
|
RETURNS
|
Y2 |
integral of the curve <X,Y>
|
|
EXAMPLE
| Nemo Release 3.1 | trapezoidal_integral (3) | June 29, 2025 |
Generated by manServer 1.08 from cc7bd574-6cbb-46c6-a345-f27653fac71b using man macros.