Trailing-Edge
-
PDP-10 Archives
-
decus_20tap2_198111
-
decus/20-0026/dhep.doc
There are 2 other files named dhep.doc in the archive. Click here to see a list.
SUBROUTINE DHEP
PURPOSE
COMPUTE THE VALUES OF THE HERMITE POLYNOMIALS H(N,X)
FOR ARGUMENT VALUE X AND ORDERS 0 UP TO N.
USAGE
CALL DHEP(Y,X,N)
DESCRIPTION OF PARAMETERS
Y - RESULT VECTOR OF DIMENSION N+1 CONTAINING THE VALUES
OF HERMITE POLYNOMIALS OF ORDER 0 UP TO N
FOR GIVEN ARGUMENT X.
DOUBLE PRECISION VECTOR.
VALUES ARE ORDERED FROM LOW TO HIGH ORDER
X - ARGUMENT OF HERMITE POLYNOMIAL
DOUBLE PRECISION VARIABLE.
N - ORDER OF HERMITE POLYNOMIAL
REMARKS
N LESS THAN 0 IS TREATED AS IF N WERE 0
SUBROUTINES AND FUNCTION SUBPROGRAMS REQUIRED
NONE
METHOD
EVALUATION IS BASED ON THE RECURRENCE EQUATION FOR
HERMITE POLYNOMIALS H(N,X)
H(N+1,X)=2*(X*H(N,X)-N*H(N-1,X))
WHERE THE FIRST TERM IN BRACKETS IS THE INDEX,
THE SECOND IS THE ARGUMENT.
STARTING VALUES ARE H(0,X)=1, H(1,X)=2*X.