Google
 

Trailing-Edge - PDP-10 Archives - decuslib20-02 - decus/20-0026/dqtfg.doc
There are 2 other files named dqtfg.doc in the archive. Click here to see a list.
SUBROUTINE DQTFG

PURPOSE
   TO COMPUTE THE VECTOR OF INTEGRAL VALUES FOR A GIVEN
   GENERAL TABLE OF ARGUMENT AND FUNCTION VALUES.

USAGE
   CALL DQTFG (X,Y,Z,NDIM)

DESCRIPTION OF PARAMETERS
   X	  - DOUBLE PRECISION INPUT VECTOR OF ARGUMENT VALUES.
   Y	  - DOUBLE PRECISION INPUT VECTOR OF FUNCTION VALUES.
   Z	  - RESULTING DOUBLE PRECISION VECTOR OF INTEGRAL
	    VALUES. Z MAY BE IDENTICAL WITH X OR Y.
   NDIM   - THE DIMENSION OF VECTORS X,Y,Z.

REMARKS
   NO ACTION IN CASE NDIM LESS THAN 1.

SUBROUTINES AND FUNCTION SUBPROGRAMS REQUIRED
   NONE

METHOD
   BEGINNING WITH Z(1)=0, EVALUATION OF VECTOR Z IS DONE BY
   MEANS OF TRAPEZOIDAL RULE (SECOND ORDER FORMULA).
   FOR REFERENCE, SEE
   F.B.HILDEBRAND, INTRODUCTION TO NUMERICAL ANALYSIS,
   MCGRAW-HILL, NEW YORK/TORONTO/LONDON, 1956, PP.75.