#testing #no-std #no-alloc

no-std exponential-integral

The exponential integral function, a.k.a. Ei.

5 releases

0.2.3 Jan 20, 2025
0.2.2 Jan 15, 2025
0.2.1 Jan 13, 2025
0.2.0 Jan 13, 2025
0.1.0 Jan 13, 2025

#625 in Math

Download history 196/week @ 2025-01-07 180/week @ 2025-01-14 54/week @ 2025-01-21 7/week @ 2025-01-28 5/week @ 2025-02-04 11/week @ 2025-02-11

118 downloads per month

GPL-3.0+

110KB
986 lines

The exponential integral, often written $\text{Ei}$, equal to the the integral of an exponentiated input over the input itself: $\text{Ei}(t) = \int_{-\infty}^{t} \frac{ e^{u} }{ u } \text{d}u$

All credit goes to GSL's implementation. This repository inherits its GPL license.


lib.rs:

The exponential integral, often written $\text{Ei}$, equal to the the integral of an exponentiated input over the input itself: $\text{Ei}(t) = \int_{-\infty}^{t} \frac{ e^{u} }{ u } \text{d}u$

Inspired by GSL's implementation. Inputs less than 0. Inputs greater than 0.

Dependencies

~1MB
~21K SLoC