Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gamma(::Complex{BigFloat}) #440

Open
MikaelSlevinsky opened this issue Mar 29, 2023 · 1 comment
Open

Add gamma(::Complex{BigFloat}) #440

MikaelSlevinsky opened this issue Mar 29, 2023 · 1 comment

Comments

@MikaelSlevinsky
Copy link
Contributor

Current output on v2.2.0:

julia> using SpecialFunctions

julia> gamma(big(1)+im)
ERROR: MethodError: no method matching _loggamma(::Complex{BigFloat})
Closest candidates are:
  _loggamma(::Number, ::Number) at ~/.julia/packages/SpecialFunctions/gXPNz/src/gamma_inc.jl:1175
  _loggamma(::ComplexF16) at ~/.julia/packages/SpecialFunctions/gXPNz/src/gamma.jl:522
  _loggamma(::ComplexF32) at ~/.julia/packages/SpecialFunctions/gXPNz/src/gamma.jl:522
  ...
Stacktrace:
 [1] loggamma(x::Complex{BigFloat})
   @ SpecialFunctions ~/.julia/packages/SpecialFunctions/gXPNz/src/gamma.jl:634
 [2] _gamma(z::Complex{BigFloat})
   @ SpecialFunctions ~/.julia/packages/SpecialFunctions/gXPNz/src/gamma.jl:589
 [3] gamma(x::Complex{BigInt})
   @ SpecialFunctions ~/.julia/packages/SpecialFunctions/gXPNz/src/gamma.jl:567
 [4] top-level scope
   @ REPL[28]:1

julia> 
@hm271
Copy link

hm271 commented Jan 13, 2024

I have the same problem with v2.3.1. It would be very nice if gamma(::Complex{BigFloat}) could be implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants