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

hypergeom doesn't work for complex arguments #73

Open
nsheils opened this issue Aug 23, 2018 · 2 comments
Open

hypergeom doesn't work for complex arguments #73

nsheils opened this issue Aug 23, 2018 · 2 comments

Comments

@nsheils
Copy link

nsheils commented Aug 23, 2018

hypergeom([1.0; 2.0],2.0*im,2.)

returns

MethodError: no method matching hypergeom(::Array{Float64,1}, ::Complex{Float64}, ::Float64)
Closest candidates are:
  hypergeom(::Union{Array{Float64,1}, Array{Union{},1}, Float64}, ::Union{Array{Float64,1}, Array{Union{},1}, Float64}, ::Float64) at /Users/nataliesheils/.julia/v0.6/GSL/src/7_21_HypergeometricFunctions.jl:11

@nsheils nsheils changed the title hypergeom doesn't work for complex argumetns hypergeom doesn't work for complex arguments Aug 23, 2018
@ludvigak
Copy link
Collaborator

ludvigak commented Nov 7, 2018

I don't think GSL has hypergeometric functions for complex arguments.

@ludvigak
Copy link
Collaborator

ludvigak commented Nov 7, 2018

I don't think GSL has hypergeometric functions for complex arguments.

Sorry, that was wrong, there's actually sf_hyperg_2F1_conj, which could be called from hypergeom for the right arguments.

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