Commit 3aacf45
authored
Derivative of exponential integral (#99)
* Derivative of exponential integral
General form:
$$ \frac{d}{dx} E_\nu(x) = -E_{\nu - 1}(x) $$
Special case:
$$ \frac{d}{dx} E_0(x) = -\frac{e^{-x}}{x} $$
Source: https://en.wikipedia.org/wiki/Exponential_integral#Derivatives
* Bump SpecialFunctions compatibility to >=1.1
Exponential integral (`expint`) was only introduced in 1.0...
https://github.com/JuliaMath/SpecialFunctions.jl/releases/tag/v1.0.0
...but with spurious domain errors, which were fixed in 1.1 (at least
fixed-enough that this package's tests pass.)
https://github.com/JuliaMath/SpecialFunctions.jl/releases/tag/v1.1.01 parent 1ff111f commit 3aacf45
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| 184 | + | |
| 185 | + | |
184 | 186 | | |
185 | 187 | | |
186 | 188 | | |
| |||
236 | 238 | | |
237 | 239 | | |
238 | 240 | | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
239 | 245 | | |
240 | 246 | | |
241 | 247 | | |
| |||
0 commit comments