GSL.jl
GSL.jl copied to clipboard
hypergeom doesn't work for complex arguments
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
I don't think GSL has hypergeometric functions for complex arguments.
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.