XLPack 7.0
XLPack Numerical Library (Excel Worksheet Functions) Reference Manual
Loading...
Searching...
No Matches

◆ WEn()

Function WEn ( X As  Double,
N As  Long,
Optional Kode As  Long = 1 
)

Exponential integral En(x)

Purpose
WEn computes the exponential integrals En(x) for nonnegative argument x.
En(x) = ∫ exp(-xt)/t^n dt [1, ∞]
Returns
Exponential integral En(x).
Parameters
[in]XArgument x. (X >= 0)
[in]NOrder of the exponential integral n. (N >= 0)
[in]Kode(Optional)
Scaling option parameter. (default = 1)
= 1: No scaling.
(For other parameter values, the default value will be used except that Kode = 2 causes #VALUE! error)
Reference
boost/math/special_functions