[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) March 11, 2021
Generated by manServer 1.08 from 9e779583-203d-4f41-a62e-189ee99366a3 using man macros.