Skip to content

Commit

Permalink
Merge 8352016 into eae3df0
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyichao committed Sep 9, 2016
2 parents eae3df0 + 8352016 commit 0bb20ad
Show file tree
Hide file tree
Showing 191 changed files with 630 additions and 974 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -4,6 +4,7 @@ os:
- osx
julia:
- 0.4
- 0.5
- nightly
notifications:
email: false
Expand Down
2 changes: 1 addition & 1 deletion REQUIRE
Expand Up @@ -2,4 +2,4 @@ julia 0.4
BinDeps 0.2.12-
@osx Homebrew 0.0.4-
@windows WinRPM
Compat 0.7.20
Compat 0.9.1
18 changes: 6 additions & 12 deletions src/7_20_Gegenbauer_Functions.jl
Expand Up @@ -17,7 +17,7 @@ function sf_gegenpoly_1(lambda::Real, x::Real)
ccall( (:gsl_sf_gegenpoly_1, libgsl), Cdouble, (Cdouble, Cdouble),
lambda, x )
end
@vectorize_2arg Number sf_gegenpoly_1
Compat.@dep_vectorize_2arg Number sf_gegenpoly_1


# These functions evaluate the Gegenbauer polynomials C^{(\lambda)}_n(x) using
Expand All @@ -28,7 +28,7 @@ function sf_gegenpoly_2(lambda::Real, x::Real)
ccall( (:gsl_sf_gegenpoly_2, libgsl), Cdouble, (Cdouble, Cdouble),
lambda, x )
end
@vectorize_2arg Number sf_gegenpoly_2
Compat.@dep_vectorize_2arg Number sf_gegenpoly_2


# These functions evaluate the Gegenbauer polynomials C^{(\lambda)}_n(x) using
Expand All @@ -39,7 +39,7 @@ function sf_gegenpoly_3(lambda::Real, x::Real)
ccall( (:gsl_sf_gegenpoly_3, libgsl), Cdouble, (Cdouble, Cdouble),
lambda, x )
end
@vectorize_2arg Number sf_gegenpoly_3
Compat.@dep_vectorize_2arg Number sf_gegenpoly_3


# These functions evaluate the Gegenbauer polynomials C^{(\lambda)}_n(x) using
Expand All @@ -53,7 +53,7 @@ function sf_gegenpoly_1_e(lambda::Real, x::Real)
if errno!= 0 throw(GSL_ERROR(errno)) end
return result[]
end
@vectorize_2arg Number sf_gegenpoly_1_e
Compat.@dep_vectorize_2arg Number sf_gegenpoly_1_e


# These functions evaluate the Gegenbauer polynomials C^{(\lambda)}_n(x) using
Expand All @@ -67,7 +67,7 @@ function sf_gegenpoly_2_e(lambda::Real, x::Real)
if errno!= 0 throw(GSL_ERROR(errno)) end
return result[]
end
@vectorize_2arg Number sf_gegenpoly_2_e
Compat.@dep_vectorize_2arg Number sf_gegenpoly_2_e


# These functions evaluate the Gegenbauer polynomials C^{(\lambda)}_n(x) using
Expand All @@ -81,7 +81,7 @@ function sf_gegenpoly_3_e(lambda::Real, x::Real)
if errno!= 0 throw(GSL_ERROR(errno)) end
return result[]
end
@vectorize_2arg Number sf_gegenpoly_3_e
Compat.@dep_vectorize_2arg Number sf_gegenpoly_3_e


# These functions evaluate the Gegenbauer polynomial C^{(\lambda)}_n(x) for a
Expand All @@ -92,8 +92,6 @@ function sf_gegenpoly_n(n::Integer, lambda::Real, x::Real)
ccall( (:gsl_sf_gegenpoly_n, libgsl), Cdouble, (Cint, Cdouble,
Cdouble), n, lambda, x )
end
#TODO This vectorization macro is not implemented
#@vectorize_3arg Number sf_gegenpoly_n


# These functions evaluate the Gegenbauer polynomial C^{(\lambda)}_n(x) for a
Expand All @@ -107,8 +105,6 @@ function sf_gegenpoly_n_e(n::Integer, lambda::Real, x::Real)
if errno!= 0 throw(GSL_ERROR(errno)) end
return result[]
end
#TODO This vectorization macro is not implemented
#@vectorize_3arg Number sf_gegenpoly_n_e


# This function computes an array of Gegenbauer polynomials C^{(\lambda)}_n(x)
Expand All @@ -122,5 +118,3 @@ function sf_gegenpoly_array(nmax::Integer, lambda::Real, x::Real)
if errno!= 0 throw(GSL_ERROR(errno)) end
return result_array
end
#TODO This vectorization macro is not implemented
#@vectorize_3arg Number sf_gegenpoly_array
12 changes: 6 additions & 6 deletions src/7_5_1_Regular_Cylindrical_Bessel_Functions.jl
Expand Up @@ -15,7 +15,7 @@ export sf_bessel_J0, sf_bessel_J0_e, sf_bessel_J1, sf_bessel_J1_e,
function sf_bessel_J0(x::Real)
ccall( (:gsl_sf_bessel_J0, libgsl), Cdouble, (Cdouble, ), x )
end
@vectorize_1arg Number sf_bessel_J0
Compat.@dep_vectorize_1arg Number sf_bessel_J0


# These routines compute the regular cylindrical Bessel function of zeroth
Expand All @@ -29,7 +29,7 @@ function sf_bessel_J0_e(x::Real)
if errno!= 0 throw(GSL_ERROR(errno)) end
return result[]
end
@vectorize_1arg Number sf_bessel_J0_e
Compat.@dep_vectorize_1arg Number sf_bessel_J0_e


# These routines compute the regular cylindrical Bessel function of first
Expand All @@ -39,7 +39,7 @@ end
function sf_bessel_J1(x::Real)
ccall( (:gsl_sf_bessel_J1, libgsl), Cdouble, (Cdouble, ), x )
end
@vectorize_1arg Number sf_bessel_J1
Compat.@dep_vectorize_1arg Number sf_bessel_J1


# These routines compute the regular cylindrical Bessel function of first
Expand All @@ -53,7 +53,7 @@ function sf_bessel_J1_e(x::Real)
if errno!= 0 throw(GSL_ERROR(errno)) end
return result[]
end
@vectorize_1arg Number sf_bessel_J1_e
Compat.@dep_vectorize_1arg Number sf_bessel_J1_e


# These routines compute the regular cylindrical Bessel function of order n,
Expand All @@ -63,7 +63,7 @@ end
function sf_bessel_Jn(n::Integer, x::Real)
ccall( (:gsl_sf_bessel_Jn, libgsl), Cdouble, (Cint, Cdouble), n, x )
end
@vectorize_2arg Number sf_bessel_Jn
Compat.@dep_vectorize_2arg Number sf_bessel_Jn


# These routines compute the regular cylindrical Bessel function of order n,
Expand All @@ -77,4 +77,4 @@ function sf_bessel_Jn_e(n::Integer, x::Real)
if errno!= 0 throw(GSL_ERROR(errno)) end
return result[]
end
@vectorize_2arg Number sf_bessel_Jn_e
Compat.@dep_vectorize_2arg Number sf_bessel_Jn_e
12 changes: 6 additions & 6 deletions src/7_5_2_Irregular_Cylindrical_Bessel_Functions.jl
Expand Up @@ -15,7 +15,7 @@ export sf_bessel_Y0, sf_bessel_Y0_e, sf_bessel_Y1, sf_bessel_Y1_e,
function sf_bessel_Y0(x::Real)
ccall( (:gsl_sf_bessel_Y0, libgsl), Cdouble, (Cdouble, ), x )
end
@vectorize_1arg Number sf_bessel_Y0
Compat.@dep_vectorize_1arg Number sf_bessel_Y0


# These routines compute the irregular cylindrical Bessel function of zeroth
Expand All @@ -29,7 +29,7 @@ function sf_bessel_Y0_e(x::Real)
if errno!= 0 throw(GSL_ERROR(errno)) end
return result[]
end
@vectorize_1arg Number sf_bessel_Y0_e
Compat.@dep_vectorize_1arg Number sf_bessel_Y0_e


# These routines compute the irregular cylindrical Bessel function of first
Expand All @@ -39,7 +39,7 @@ end
function sf_bessel_Y1(x::Real)
ccall( (:gsl_sf_bessel_Y1, libgsl), Cdouble, (Cdouble, ), x )
end
@vectorize_1arg Number sf_bessel_Y1
Compat.@dep_vectorize_1arg Number sf_bessel_Y1


# These routines compute the irregular cylindrical Bessel function of first
Expand All @@ -53,7 +53,7 @@ function sf_bessel_Y1_e(x::Real)
if errno!= 0 throw(GSL_ERROR(errno)) end
return result[]
end
@vectorize_1arg Number sf_bessel_Y1_e
Compat.@dep_vectorize_1arg Number sf_bessel_Y1_e


# These routines compute the irregular cylindrical Bessel function of order n,
Expand All @@ -63,7 +63,7 @@ end
function sf_bessel_Yn(n::Integer, x::Real)
ccall( (:gsl_sf_bessel_Yn, libgsl), Cdouble, (Cint, Cdouble), n, x )
end
@vectorize_2arg Number sf_bessel_Yn
Compat.@dep_vectorize_2arg Number sf_bessel_Yn


# These routines compute the irregular cylindrical Bessel function of order n,
Expand All @@ -77,4 +77,4 @@ function sf_bessel_Yn_e(n::Integer, x::Real)
if errno!= 0 throw(GSL_ERROR(errno)) end
return result[]
end
@vectorize_2arg Number sf_bessel_Yn_e
Compat.@dep_vectorize_2arg Number sf_bessel_Yn_e
24 changes: 12 additions & 12 deletions src/7_5_3_Regular_Modified_Cylindrical_Bessel_Functions.jl
Expand Up @@ -17,7 +17,7 @@ export sf_bessel_I0, sf_bessel_I0_e, sf_bessel_I1, sf_bessel_I1_e,
function sf_bessel_I0(x::Real)
ccall( (:gsl_sf_bessel_I0, libgsl), Cdouble, (Cdouble, ), x )
end
@vectorize_1arg Number sf_bessel_I0
Compat.@dep_vectorize_1arg Number sf_bessel_I0


# These routines compute the regular modified cylindrical Bessel function of
Expand All @@ -31,7 +31,7 @@ function sf_bessel_I0_e(x::Real)
if errno!= 0 throw(GSL_ERROR(errno)) end
return result[]
end
@vectorize_1arg Number sf_bessel_I0_e
Compat.@dep_vectorize_1arg Number sf_bessel_I0_e


# These routines compute the regular modified cylindrical Bessel function of
Expand All @@ -41,7 +41,7 @@ end
function sf_bessel_I1(x::Real)
ccall( (:gsl_sf_bessel_I1, libgsl), Cdouble, (Cdouble, ), x )
end
@vectorize_1arg Number sf_bessel_I1
Compat.@dep_vectorize_1arg Number sf_bessel_I1


# These routines compute the regular modified cylindrical Bessel function of
Expand All @@ -55,7 +55,7 @@ function sf_bessel_I1_e(x::Real)
if errno!= 0 throw(GSL_ERROR(errno)) end
return result[]
end
@vectorize_1arg Number sf_bessel_I1_e
Compat.@dep_vectorize_1arg Number sf_bessel_I1_e


# These routines compute the regular modified cylindrical Bessel function of
Expand All @@ -65,7 +65,7 @@ end
function sf_bessel_In(n::Integer, x::Real)
ccall( (:gsl_sf_bessel_In, libgsl), Cdouble, (Cint, Cdouble), n, x )
end
@vectorize_2arg Number sf_bessel_In
Compat.@dep_vectorize_2arg Number sf_bessel_In


# These routines compute the regular modified cylindrical Bessel function of
Expand All @@ -79,7 +79,7 @@ function sf_bessel_In_e(n::Integer, x::Real)
if errno!= 0 throw(GSL_ERROR(errno)) end
return result[]
end
@vectorize_2arg Number sf_bessel_In_e
Compat.@dep_vectorize_2arg Number sf_bessel_In_e


# These routines compute the scaled regular modified cylindrical Bessel
Expand All @@ -89,7 +89,7 @@ end
function sf_bessel_I0_scaled(x::Real)
ccall( (:gsl_sf_bessel_I0_scaled, libgsl), Cdouble, (Cdouble, ), x )
end
@vectorize_1arg Number sf_bessel_I0_scaled
Compat.@dep_vectorize_1arg Number sf_bessel_I0_scaled


# These routines compute the scaled regular modified cylindrical Bessel
Expand All @@ -103,7 +103,7 @@ function sf_bessel_I0_scaled_e(x::Real)
if errno!= 0 throw(GSL_ERROR(errno)) end
return result[]
end
@vectorize_1arg Number sf_bessel_I0_scaled_e
Compat.@dep_vectorize_1arg Number sf_bessel_I0_scaled_e


# These routines compute the scaled regular modified cylindrical Bessel
Expand All @@ -113,7 +113,7 @@ end
function sf_bessel_I1_scaled(x::Real)
ccall( (:gsl_sf_bessel_I1_scaled, libgsl), Cdouble, (Cdouble, ), x )
end
@vectorize_1arg Number sf_bessel_I1_scaled
Compat.@dep_vectorize_1arg Number sf_bessel_I1_scaled


# These routines compute the scaled regular modified cylindrical Bessel
Expand All @@ -127,7 +127,7 @@ function sf_bessel_I1_scaled_e(x::Real)
if errno!= 0 throw(GSL_ERROR(errno)) end
return result[]
end
@vectorize_1arg Number sf_bessel_I1_scaled_e
Compat.@dep_vectorize_1arg Number sf_bessel_I1_scaled_e


# These routines compute the scaled regular modified cylindrical Bessel
Expand All @@ -138,7 +138,7 @@ function sf_bessel_In_scaled(n::Integer, x::Real)
ccall( (:gsl_sf_bessel_In_scaled, libgsl), Cdouble, (Cint, Cdouble),
n, x )
end
@vectorize_2arg Number sf_bessel_In_scaled
Compat.@dep_vectorize_2arg Number sf_bessel_In_scaled


# These routines compute the scaled regular modified cylindrical Bessel
Expand All @@ -152,4 +152,4 @@ function sf_bessel_In_scaled_e(n::Integer, x::Real)
if errno!= 0 throw(GSL_ERROR(errno)) end
return result[]
end
@vectorize_2arg Number sf_bessel_In_scaled_e
Compat.@dep_vectorize_2arg Number sf_bessel_In_scaled_e

0 comments on commit 0bb20ad

Please sign in to comment.