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) July 22, 2023
Generated by manServer 1.08 from bd1b9681-26bc-4153-9928-47416ee35e5b using man macros.