|
|
◆ Li_sub()
| Sub Li_sub |
( |
Ret As |
Double, |
|
|
X As |
Double, |
|
|
Optional Info As |
Long |
|
) |
| |
Logarithmic integral li(x) (Subroutine version)
- Purpose
- Computes the logarithmic integral li(x).
li(x) = integral 1/ln(t) dt [0, x] = Ei(ln(x))
Function Ei(X As Double, Optional Info As Long) As Double Exponential integral Ei(x)
- Parameters
-
| [out] | Ret | Logarithmic integral li(x). |
| [in] | X | Argument x. (X >= 0) |
| [out] | Info | (Optional)
= 0: Successful exit.
= -1: The argument X had an illegal value. (X < 0)
= 1: Floating point range error. |
- Reference
- boost/math/special_functions
|