C
C     ..................................................................
C
C        SUBROUTINE QH10
C
C        PURPOSE
C           TO COMPUTE INTEGRAL(EXP(-X*X)*FCT(X), SUMMED OVER X FROM
C                               -INFINITY TO +INFINITY).
C
C        USAGE
C           CALL QH10(FCT,Y)
C           PARAMETER FCT REQUIRES AN EXTERNAL STATEMENT
C
C        DESCRIPTION OF PARAMETERS
C           FCT    - THE NAME OF AN EXTERNAL FUNCTION SUBPROGRAM USED.
C           Y      - THE RESULTING INTEGRAL VALUE.
C
C        REMARKS
C           NONE
C
C        SUBROUTINES AND FUNCTION SUBPROGRAMS REQUIRED
C           THE EXTERNAL FUNCTION SUBPROGRAM FCT(X) MUST BE FURNISHED
C           BY THE USER.
C
C        METHOD
C           EVALUATION IS DONE BY MEANS OF 10-POINT GAUSSIAN-HERMITE
C           QUADRATURE FORMULA, WHICH INTEGRATES EXACTLY WHENEVER
C           FCT(X) IS A POLYNOMIAL UP TO DEGREE 19.
C           FOR REFERENCE, SEE
C           V.I.KRYLOV, APPROXIMATE CALCULATION OF INTEGRALS,
C           MACMILLAN, NEW YORK/LONDON, 1962, PP.129-130 AND 343-346.
C
C     ..................................................................
C
      SUBROUTINE QH10(FCT,Y)
C
C
      X=3.436159
      Z=-X
      Y=.7640433E-5*(FCT(X)+FCT(Z))
      X=2.532732
      Z=-X
      Y=Y+.001343646*(FCT(X)+FCT(Z))
      X=1.756684
      Z=-X
      Y=Y+.03387439*(FCT(X)+FCT(Z))
      X=1.036611
      Z=-X
      Y=Y+.2401386*(FCT(X)+FCT(Z))
      X=.3429013
      Z=-X
      Y=Y+.6108626*(FCT(X)+FCT(Z))
      RETURN
      END
