TRAPI Name
TRAPI Purpose
Trapizoidal integration for irregularly spaced values.
Category
Calling Sequence
out = trapi(x, y) Inputs
x = Array of X values. in
y = Array of function values at each X. in
Keyword Parameters
Keywords
/CUMULATIVE means return the cumulative integral,
else the total integral.
/DOUBLE work in double precision.
Outputs
out = Output value. out
Common Blocks
Notes
Modification History
R. Sterner, 2004 May 21
Copyright (C) 2004, Johns Hopkins University/Applied Physics Laboratory
This software may be used, copied, or redistributed as long as it is not
sold and this copyright notice is reproduced on each copy made. This
routine is provided as is without any express or implied warranties
whatsoever. Other limitations apply as described in the file disclaimer.txt.