Dataplot Vol 2 Vol 1

# EULER NUMBERS

Name:
EULER NUMBERS (LET)
Type:
Let Subcommand
Purpose:
Generate a sequence of Euler numbers.
Description:
For a description of Euler numbers and polynomials, enter the command:

HELP EN

EN is a library function for computing Euler numbers and polynomials. The EULER NUMBERS command can be used to generate a sequence of Euler numbers.

The Euler numbers overflow quickly. For single precision Dataplot, the overflow typically starts occurring at N=40. This may vary slightly depending on the platform.

Syntax:
LET <y> = EULER NUMBERS FOR I = <start> <inc> <stop>
where <start> is the starting row for the Euler numbers;
<inc> is the increment for the Euler numbers;
<stop> is the stopping row for the Euler numbers;
<y> is a variable where the Euler numbers are saved.

Typically <start> and <inc> are 1 and <stop> is set to the number of Euler numbers to generate. If <start> and <inc> are not 1, then <y> will still contain <stop> elements, but the empty rows will be set to 0.

Examples:
LET Y = EULER NUMBERS FOR I = 1 1 30
Default:
None
Synonyms:
None
Related Commands:
 BINCDF = Compute the binomial cumulative distribution function. BINPDF = Compute the binomial probability mass function. BINPPF = Compute the binomial percent point function. BINOMIAL = Compute the binomial coefficients. EN = Compute Euler number or polynomial.
Reference:
"Computation of Special Functions", Shanjie Zhang and Jianming Jin, John Wiley and Sons, 1996, chapter 1.
Applications:
Probability
Implementation Date:
1997/12
Program:
LET Y = EULER NUMBERS FOR I = 1 1 30
PRINT Y

Dataplot generated the following output:

VARIABLES--Y

0.1000000E+01
0.0000000E+00
-0.1000000E+01
0.0000000E+00
0.5000000E+01
0.0000000E+00
-0.6100000E+02
0.0000000E+00
0.1385000E+04
0.0000000E+00
-0.5052100E+05
0.0000000E+00
0.2702765E+07
0.0000000E+00
-0.1993610E+09
0.0000000E+00
0.1939151E+11
0.0000000E+00
-0.2404880E+13
0.0000000E+00
0.3703712E+15
0.0000000E+00
-0.6934887E+17
0.0000000E+00
0.1551453E+20
0.0000000E+00
-0.4087072E+22
0.0000000E+00
0.1252260E+25
0.0000000E+00

Date created: 6/5/2001
Last updated: 4/4/2001