gauss.hermite: Function to compute the Gauss-Hermite series up to order 4

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/gauss.hermite.R

Description

This function returns the Gauss-Hermite series as defined by van der Marel & Franx (1993) up to order 4.

Usage

1
gauss.hermite(x, x0, sigma, h3, h4, norm = TRUE)

Arguments

x

numeric vector

x0

mean of the Gaussian part of the Gauss-Hermite series

sigma

sigma of the Gaussian part of the Gauss-Hermite series

h3, h4

coefficients of the Hermite polynomials H.3 and H.4

norm

logical; if TRUE (default), the Gauss-Hermite series is normalized to unity

Details

The definition of the Gauss-Hermite series is that of van der Marel & Franx (1993) and might differ somewhat from other definitions.

Value

A numeric vector giving the values of the Gauss-Hermite series at x.

Author(s)

Oliver Czoske

References

van der Marel, R. P., Franx, M., Astroph. Journ. 407, 525 (1993)

See Also

H.3, H.4

Examples

1
2
3
x <- seq(-500, 500, by=25)
y <- gauss.hermite(x, 0, 120, 0.1, 0.3)
plot(x, y, type='l')

oczoske/slacR documentation built on May 20, 2019, 8:23 p.m.