Navigation: Scripting Reference Manual > Functions & Subroutines > Herm

 

Herm

 

Contact Us: fredsupport@photonengr.com

 

Description

Computes the value of Hm(x), the Hermite polynomial of order m.

 

Syntax

Hval = Herm( x, mindx )

 

Parameters

Hval (Double)

Return value for the Hermite polynomial of mode index mindx evaluated at coordinate x.

 

x As Double

Argument used to evaluate the polynomial.

 

mindx As Long

Order of Hermite polynomial

 

 

Remarks

Computes the value of Hm(x), the Hermite polynomial of order m at value x.

 

Hm(x) = (-1)mex^2 Hm( Sqrt(2)*x )

 

The Hermite polynomials obey the recursion relation:

 

Hm+1(x) = x2Hm(x) - m2Hm-1(x)

 

where H0(x) = 1 and H1(x) = 2x

 

See Also

Lagr

 

 

 

 

 

Copyright © Photon Engineering, LLC