Google
 

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

PURPOSE
   TO COMPUTE INTEGRAL(EXP(-X)*FCT(X), SUMMED OVER X FROM 0
		       TO INFINITY).

USAGE
   CALL QL10(FCT,Y)
   PARAMETER FCT REQUIRES AN EXTERNAL STATEMENT

DESCRIPTION OF PARAMETERS
   FCT	  - THE NAME OF AN EXTERNAL FUNCTION SUBPROGRAM USED.
   Y	  - THE RESULTING INTEGRAL VALUE.

REMARKS
   NONE

SUBROUTINES AND FUNCTION SUBPROGRAMS REQUIRED
   THE EXTERNAL FUNCTION SUBPROGRAM FCT(X) MUST BE FURNISHED
   BY THE USER.

METHOD
   EVALUATION IS DONE BY MEANS OF 10-POINT GAUSSIAN-LAGUERRE
   QUADRATURE FORMULA, WHICH INTEGRATES EXACTLY WHENEVER
   FCT(X) IS A POLYNOMIAL UP TO DEGREE 19.
   FOR REFERENCE, SEE
   V.I.KRYLOV, APPROXIMATE CALCULATION OF INTEGRALS,
   MACMILLAN, NEW YORK/LONDON, 1962, PP.130-132 AND 347-352.