Skip to main content

expint

Overloads​

NameDescription
expint(bool x) -> realEvaluates the exponential integral at the given position. The exponential integral is defined as:...
expint(real x) -> realEvaluates the exponential integral at the given position. The exponential integral is defined as:...
expint(integer x) -> realEvaluates the exponential integral at the given position. The exponential integral is defined as:...

expint(bool x) -> real​

Evaluates the exponential integral at the given position. The exponential integral is defined as:

Ei(x)=−∫−x∞e−ttdtEi(x) = -\int_{-x}^{\infty} \frac{e^{-t}}{t} dt

Parameters​

  • x: The value at which the function is evaluated.

expint(real x) -> real​

Evaluates the exponential integral at the given position. The exponential integral is defined as:

Ei(x)=−∫−x∞e−ttdtEi(x) = -\int_{-x}^{\infty} \frac{e^{-t}}{t} dt

Parameters​

  • x: The value at which the function is evaluated.

expint(integer x) -> real​

Evaluates the exponential integral at the given position. The exponential integral is defined as:

Ei(x)=−∫−x∞e−ttdtEi(x) = -\int_{-x}^{\infty} \frac{e^{-t}}{t} dt

Parameters​

  • x: The value at which the function is evaluated.