GAUSSHERMITE—Numerical integration

Use this forum to post complete RATS "procedures". Please be sure to include instructions on using the procedure and detailed references where applicable.
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

GAUSSHERMITE—Numerical integration

Unread post by TomDoan »

This procedure generates vectors of abscissas and weights for Gauss-Hermite numerical integration.
gausshermite.src
Procedure file
(2.75 KiB) Downloaded 904 times
@GaussHermite( options )

Options

N=# of nodes (input)
X=VECTOR of abscissas (output)
W=VECTOR of weights (output)
STANDARD/[NOSTANDARD]
With STANDARD, the X and W are adjusted for integration of f(x) x a standard Normal density rather than f(x) x exp(-x^2).
Post Reply