Evaluates the exponential integral of integer order for arguments greater than zero scaled by EXP(X).
X — Argument for
which the integral is to be evaluated. (Input)
It must be
greater than zero.
N — Integer specifying the maximum order for which the exponential integral is to be calculated. (Input)
F — Vector of length N containing the computed exponential integrals scaled by EXP(X). (Output)
Specific: The specific interface names are S_ENE and D_ENE.
Double: The double precision function name is DENE.
The scaled exponential integral of order n, En(x), is defined to be
The argument x must satisfy x > 0. The integer n must also be greater than zero. This code is based on a code due to Gautschi (1974).
In this example, Ez(10) for n = 1, ..., n is computed and printed.
99999 FORMAT (' E sub ', I2, ' (', F6.3, ') = ', F6.3)
|
Visual Numerics, Inc. PHONE: 713.784.3131 FAX:713.781.9260 |