nerdamer.Li(x: Expression): Expression
Computes the logarithmic integral:
`Li(x) = ∫₀ˣ 1/ln(t) dt`
.
-
`Li(+∞) = +∞`
-
`Li(1) = −∞`
(the function has a logarithmic singularity at 1)
- For negative numeric inputs, returns the symbolic form.
Parameters
| Name | Type | Description |
|---|
x | Expression | The input expression. |
Returns
Expression — The logarithmic integral value.
Examples
Li(Expression.create('x')).text() // "Li(x)"