-
Notifications
You must be signed in to change notification settings - Fork 104
Open
Labels
Description
Might be good to define a few additional functions in terms of the new expint
functions:
- the
Ei
function (probably call itexpinti
) (add expinti function #257) - the
sinint
andcosint
functions for complex arguments - incomplete gamma functions for complex arguments: upper incomplete gamma function Γ(a,z) #271
- the logarithmic integral function
li(x) = Ei(log(x))
(too trivial? or does it do something interesting for complex args?). -
expintx(ν,z) = exp(z) * expint(ν, z)
: expintx function — exponentially scaled expint #249 - log of the incomplete gamma function log Γ(a,x), using
expintx
as commented here: WIP: add loggamma(a,z) #283
(Even for real arguments, the expint
implementation seems to be faster than what we have now for gamma_inc
, although it might not be as accurate for the "lower" incomplete gamma function. I feel like we should just have a gamma(n,x)
method that returns the upper incomplete gamma function, similar to Mathematica, in any case.)
azev77 and ararslan