[UP]


Manual Reference Pages  - 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


trapezoidal_integral (3) October 17, 2020
Generated by manServer 1.08 from 09eff14b-f80b-4563-9c58-153a874d5775 using man macros.