From edc2440bc9a78cd3c1f76ab1b242385d4f4db53f Mon Sep 17 00:00:00 2001 From: Yichao Yu Date: Mon, 5 Sep 2016 19:16:33 -0400 Subject: [PATCH 1/2] Fix depwarn on 0.6 due to vectorized functions --- REQUIRE | 2 +- src/7_20_Gegenbauer_Functions.jl | 18 +++----- ..._1_Regular_Cylindrical_Bessel_Functions.jl | 12 ++--- ..._Irregular_Cylindrical_Bessel_Functions.jl | 12 ++--- ...r_Modified_Cylindrical_Bessel_Functions.jl | 24 +++++----- ...r_Modified_Cylindrical_Bessel_Functions.jl | 24 +++++----- ..._5_5_Regular_Spherical_Bessel_Functions.jl | 16 +++---- ..._6_Irregular_Spherical_Bessel_Functions.jl | 16 +++---- ...lar_Modified_Spherical_Bessel_Functions.jl | 16 +++---- ...lar_Modified_Spherical_Bessel_Functions.jl | 16 +++---- src/7_5_Bessel_Functions.jl | 7 +-- src/9_2_Permutation_allocation.jl | 4 +- src/GSL.jl | 2 + src/_10_2_Combination_allocation.jl | 4 +- src/_11_2_Multiset_allocation.jl | 4 +- ...ptive_integration_for_Fourier_integrals.jl | 4 +- ...17_11_CQUAD_doubly-adaptive_integration.jl | 2 +- src/_17_12_Gauss-Legendre_integration.jl | 2 +- src/_17_3_QAG_adaptive_integration.jl | 2 +- ...ptive_integration_on_infinite_intervals.jl | 6 --- ...integration_for_Cauchy_principal_values.jl | 2 - ...tive_integration_for_singular_functions.jl | 4 -- ...e_integration_for_oscillatory_functions.jl | 4 +- src/_20_10_The_Rayleigh_Tail_Distribution.jl | 6 +-- src/_20_11_The_Landau_Distribution.jl | 2 +- src/_20_14_The_Gamma_Distribution.jl | 10 ----- src/_20_15_The_Flat_(Uniform)_Distribution.jl | 10 ----- src/_20_16_The_Lognormal_Distribution.jl | 10 ----- src/_20_17_The_Chi-squared_Distribution.jl | 10 ++--- src/_20_18_The_F-distribution.jl | 10 ----- src/_20_19_The_t-distribution.jl | 10 ++--- src/_20_20_The_Beta_Distribution.jl | 10 ----- src/_20_21_The_Logistic_Distribution.jl | 10 ++--- src/_20_22_The_Pareto_Distribution.jl | 10 ----- src/_20_24_The_Weibull_Distribution.jl | 10 ----- src/_20_25_The_Type-1_Gumbel_Distribution.jl | 10 ----- src/_20_26_The_Type-2_Gumbel_Distribution.jl | 10 ----- src/_20_27_The_Dirichlet_Distribution.jl | 4 +- src/_20_29_The_Poisson_Distribution.jl | 6 +-- src/_20_2_The_Gaussian_Distribution.jl | 20 ++++----- src/_20_30_The_Bernoulli_Distribution.jl | 2 +- src/_20_31_The_Binomial_Distribution.jl | 6 --- src/_20_32_The_Multinomial_Distribution.jl | 4 +- ...0_33_The_Negative_Binomial_Distribution.jl | 6 --- src/_20_34_The_Pascal_Distribution.jl | 6 --- src/_20_35_The_Geometric_Distribution.jl | 6 +-- src/_20_36_The_Hypergeometric_Distribution.jl | 6 --- src/_20_37_The_Logarithmic_Distribution.jl | 2 +- src/_20_3_The_Gaussian_Tail_Distribution.jl | 4 +- ...0_4_The_Bivariate_Gaussian_Distribution.jl | 2 - src/_20_5_The_Exponential_Distribution.jl | 10 ++--- src/_20_6_The_Laplace_Distribution.jl | 10 ++--- ...20_7_The_Exponential_Power_Distribution.jl | 6 --- src/_20_8_The_Cauchy_Distribution.jl | 10 ++--- src/_20_9_The_Rayleigh_Distribution.jl | 10 ++--- ...1_Mean,_Standard_Deviation_and_Variance.jl | 18 ++++---- src/_21_2_Absolute_deviation.jl | 4 +- ..._Higher_moments_(skewness_and_kurtosis).jl | 8 ++-- src/_21_4_Autocorrelation.jl | 4 +- src/_21_5_Covariance.jl | 4 +- src/_21_6_Correlation.jl | 2 +- src/_21_7_Weighted_Samples.jl | 30 ++++++------- src/_21_8_Maximum_and_Minimum_values.jl | 12 ++--- src/_21_9_Median_and_Percentiles.jl | 4 +- ...stogram_probability_distribution_struct.jl | 2 +- src/_22_14_2D_Histogram_allocation.jl | 6 +-- ...ing_and_accessing_2D_histogram_elements.jl | 4 +- src/_22_19_2D_Histogram_Operations.jl | 4 +- src/_22_21_Resampling_from_2D_histograms.jl | 2 +- src/_22_2_Histogram_allocation.jl | 6 +-- ...dating_and_accessing_histogram_elements.jl | 4 +- src/_22_7_Histogram_Operations.jl | 4 +- src/_24_2_PLAIN_Monte_Carlo.jl | 4 +- src/_24_3_MISER.jl | 4 +- src/_24_4_VEGAS.jl | 4 +- src/_26_2_Stepping_Functions.jl | 2 - src/_26_3_Adaptive_Step-size_Control.jl | 12 ++--- src/_26_4_Evolution.jl | 2 +- src/_26_5_Driver.jl | 10 ++--- src/_27_4_Index_Look-up_and_Acceleration.jl | 2 +- ...ion_and_Calculation_of_Chebyshev_Series.jl | 2 +- src/_30_1_Acceleration_functions.jl | 2 +- ...tion_functions_without_error_estimation.jl | 2 +- src/_31_2_Initialization.jl | 2 +- src/_32_2_Functions.jl | 4 +- src/_33_7_Search_Stopping_Parameters.jl | 6 +-- src/_34_3_Initializing_the_Minimizer.jl | 2 - src/_34_6_Stopping_Parameters.jl | 2 - src/_36_6_Stopping_Criteria.jl | 2 +- src/_37_2_Linear_regression.jl | 2 - ..._Linear_fitting_without_a_constant_term.jl | 2 - src/_37_4_Multi-parameter_fitting.jl | 2 +- ..._39_2_Initializing_the_B-splines_solver.jl | 4 +- src/_39_3_Constructing_the_knots_vector.jl | 2 +- src/_39_4_Evaluation_of_B-splines.jl | 4 +- ...39_5_Evaluation_of_B-spline_derivatives.jl | 4 +- src/_3_2_Error_Codes.jl | 2 +- src/_4_2_Infinities_and_Not-a-number.jl | 6 +-- src/_4_3_Elementary_Functions.jl | 16 +++---- src/_4_4_Small_integer_powers.jl | 20 ++++----- src/_4_7_Maximum_and_Minimum_functions.jl | 12 ++--- ...te_Comparison_of_Floating_Point_Numbers.jl | 2 - src/_6_1_Polynomial_Evaluation.jl | 6 +-- ...ifference_Representation_of_Polynomials.jl | 6 +-- src/_6_3_Quadratic_Equations.jl | 4 -- src/_6_4_Cubic_Equations.jl | 4 -- src/_6_5_General_Polynomial_Equations.jl | 2 +- src/_7_10_Debye_Functions.jl | 24 +++++----- src/_7_11_1_Real_Argument.jl | 4 +- src/_7_11_2_Complex_Argument.jl | 2 +- src/_7_12_Elementary_Operations.jl | 4 +- src/_7_14_Elliptic_Functions_(Jacobi).jl | 2 +- src/_7_15_1_Error_Function.jl | 4 +- src/_7_15_2_Complementary_Error_Function.jl | 4 +- ...7_15_3_Log_Complementary_Error_Function.jl | 4 +- src/_7_15_4_Probability_functions.jl | 12 ++--- src/_7_16_1_Exponential_Function.jl | 12 ++--- src/_7_16_2_Relative_Exponential_Functions.jl | 16 +++---- ...16_3_Exponentiation_With_Error_Estimate.jl | 8 +--- src/_7_17_1_Exponential_Integral.jl | 12 ++--- src/_7_17_2_Ei(x).jl | 4 +- src/_7_17_3_Hyperbolic_Integrals.jl | 8 ++-- src/_7_17_4_Ei_3(x).jl | 4 +- src/_7_17_5_Trigonometric_Integrals.jl | 8 ++-- src/_7_17_6_Arctangent_Integral.jl | 4 +- src/_7_18_1_Complete_Fermi-Dirac_Integrals.jl | 32 +++++++------- ...7_18_2_Incomplete_Fermi-Dirac_Integrals.jl | 4 +- src/_7_19_1_Gamma_Functions.jl | 20 ++++----- src/_7_19_2_Factorials.jl | 28 ++++++------ src/_7_19_3_Pochhammer_Symbol.jl | 14 +++--- src/_7_19_4_Incomplete_Gamma_Functions.jl | 12 ++--- src/_7_19_5_Beta_Functions.jl | 8 ++-- src/_7_19_6_Incomplete_Beta_Function.jl | 4 -- src/_7_20_Gegenbauer_Functions.jl | 18 +++----- src/_7_21_Hypergeometric_Functions.jl | 44 +------------------ src/_7_22_Laguerre_Functions.jl | 16 +++---- src/_7_23_Lambert_W_Functions.jl | 8 ++-- src/_7_24_1_Legendre_Polynomials.jl | 32 +++++++------- ...dre_Polynomials_and_Spherical_Harmonics.jl | 18 +------- src/_7_24_3_Conical_Functions.jl | 24 ++++------ ...4_Radial_Functions_for_Hyperbolic_Space.jl | 14 ++---- src/_7_25_Logarithm_and_Related_Functions.jl | 18 ++++---- src/_7_26_1_Mathieu_Function_Workspace.jl | 2 +- ..._Mathieu_Function_Characteristic_Values.jl | 8 +--- src/_7_26_3_Angular_Mathieu_Functions.jl | 8 ---- src/_7_26_4_Radial_Mathieu_Functions.jl | 8 ---- src/_7_27_Power_Function.jl | 4 +- src/_7_28_1_Digamma_Function.jl | 12 ++--- src/_7_28_2_Trigamma_Function.jl | 8 ++-- src/_7_28_3_Polygamma_Function.jl | 4 +- src/_7_29_Synchrotron_Functions.jl | 8 ++-- src/_7_30_Transport_Functions.jl | 16 +++---- ...7_31_1_Circular_Trigonometric_Functions.jl | 16 +++---- ...ometric_Functions_for_Complex_Arguments.jl | 6 +-- ...31_3_Hyperbolic_Trigonometric_Functions.jl | 8 ++-- src/_7_31_4_Conversion_Functions.jl | 4 +- src/_7_31_5_Restriction_Functions.jl | 4 +- ...nometric_Functions_With_Error_Estimates.jl | 4 +- src/_7_32_1_Riemann_Zeta_Function.jl | 8 ++-- ..._7_32_2_Riemann_Zeta_Function_Minus_One.jl | 8 ++-- src/_7_32_3_Hurwitz_Zeta_Function.jl | 4 +- src/_7_32_4_Eta_Function.jl | 8 ++-- src/_7_4_3_Zeros_of_Airy_Functions.jl | 8 ++-- ..._Zeros_of_Derivatives_of_Airy_Functions.jl | 8 ++-- ...egular_Bessel_FunctionsFractional_Order.jl | 4 +- ...dified_Bessel_FunctionsFractional_Order.jl | 8 ++-- ...dified_Bessel_FunctionsFractional_Order.jl | 12 ++--- ..._5_13_Zeros_of_Regular_Bessel_Functions.jl | 12 ++--- ..._1_Regular_Cylindrical_Bessel_Functions.jl | 14 +++--- ..._Irregular_Cylindrical_Bessel_Functions.jl | 14 +++--- ...r_Modified_Cylindrical_Bessel_Functions.jl | 28 +++++------- ...r_Modified_Cylindrical_Bessel_Functions.jl | 28 +++++------- ..._5_5_Regular_Spherical_Bessel_Functions.jl | 20 ++++----- ..._6_Irregular_Spherical_Bessel_Functions.jl | 18 ++++---- ...lar_Modified_Spherical_Bessel_Functions.jl | 18 ++++---- ...lar_Modified_Spherical_Bessel_Functions.jl | 18 ++++---- ...Regular_Bessel_FunctionFractional_Order.jl | 4 +- src/_7_6_Clausen_Functions.jl | 4 +- ..._7_1_Normalized_Hydrogenic_Bound_States.jl | 8 +--- src/_7_7_2_Coulomb_Wave_Functions.jl | 10 ----- ...mb_Wave_Function_Normalization_Constant.jl | 4 +- src/_7_8_1_3-j_Symbols.jl | 4 -- src/_7_8_2_6-j_Symbols.jl | 4 -- src/_7_8_3_9-j_Symbols.jl | 4 -- src/_7_9_Dawson_Function.jl | 4 +- src/_8_2_1_Block_allocation.jl | 4 +- src/_9_2_Permutation_allocation.jl | 4 +- src/_9_3_Accessing_permutation_elements.jl | 2 +- test/REQUIRE | 1 - util/makewrappers.py | 5 +-- 190 files changed, 629 insertions(+), 974 deletions(-) delete mode 100644 test/REQUIRE diff --git a/REQUIRE b/REQUIRE index 94faf39..224025d 100644 --- a/REQUIRE +++ b/REQUIRE @@ -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 diff --git a/src/7_20_Gegenbauer_Functions.jl b/src/7_20_Gegenbauer_Functions.jl index 7bf7cb8..a33a7de 100644 --- a/src/7_20_Gegenbauer_Functions.jl +++ b/src/7_20_Gegenbauer_Functions.jl @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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) @@ -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 diff --git a/src/7_5_1_Regular_Cylindrical_Bessel_Functions.jl b/src/7_5_1_Regular_Cylindrical_Bessel_Functions.jl index 4f8408d..b151969 100644 --- a/src/7_5_1_Regular_Cylindrical_Bessel_Functions.jl +++ b/src/7_5_1_Regular_Cylindrical_Bessel_Functions.jl @@ -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 @@ -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 @@ -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 @@ -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, @@ -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, @@ -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 diff --git a/src/7_5_2_Irregular_Cylindrical_Bessel_Functions.jl b/src/7_5_2_Irregular_Cylindrical_Bessel_Functions.jl index f32106a..5ba9098 100644 --- a/src/7_5_2_Irregular_Cylindrical_Bessel_Functions.jl +++ b/src/7_5_2_Irregular_Cylindrical_Bessel_Functions.jl @@ -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 @@ -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 @@ -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 @@ -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, @@ -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, @@ -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 diff --git a/src/7_5_3_Regular_Modified_Cylindrical_Bessel_Functions.jl b/src/7_5_3_Regular_Modified_Cylindrical_Bessel_Functions.jl index 482028c..e0d5e1f 100644 --- a/src/7_5_3_Regular_Modified_Cylindrical_Bessel_Functions.jl +++ b/src/7_5_3_Regular_Modified_Cylindrical_Bessel_Functions.jl @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/src/7_5_4_Irregular_Modified_Cylindrical_Bessel_Functions.jl b/src/7_5_4_Irregular_Modified_Cylindrical_Bessel_Functions.jl index a9232ef..898c416 100644 --- a/src/7_5_4_Irregular_Modified_Cylindrical_Bessel_Functions.jl +++ b/src/7_5_4_Irregular_Modified_Cylindrical_Bessel_Functions.jl @@ -17,7 +17,7 @@ export sf_bessel_K0, sf_bessel_K0_e, sf_bessel_K1, sf_bessel_K1_e, function sf_bessel_K0(x::Real) ccall( (:gsl_sf_bessel_K0, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_bessel_K0 +Compat.@dep_vectorize_1arg Number sf_bessel_K0 # These routines compute the irregular modified cylindrical Bessel function of @@ -31,7 +31,7 @@ function sf_bessel_K0_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_bessel_K0_e +Compat.@dep_vectorize_1arg Number sf_bessel_K0_e # These routines compute the irregular modified cylindrical Bessel function of @@ -41,7 +41,7 @@ end function sf_bessel_K1(x::Real) ccall( (:gsl_sf_bessel_K1, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_bessel_K1 +Compat.@dep_vectorize_1arg Number sf_bessel_K1 # These routines compute the irregular modified cylindrical Bessel function of @@ -55,7 +55,7 @@ function sf_bessel_K1_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_bessel_K1_e +Compat.@dep_vectorize_1arg Number sf_bessel_K1_e # These routines compute the irregular modified cylindrical Bessel function of @@ -65,7 +65,7 @@ end function sf_bessel_Kn(n::Integer, x::Real) ccall( (:gsl_sf_bessel_Kn, libgsl), Cdouble, (Cint, Cdouble), n, x ) end -@vectorize_2arg Number sf_bessel_Kn +Compat.@dep_vectorize_2arg Number sf_bessel_Kn # These routines compute the irregular modified cylindrical Bessel function of @@ -79,7 +79,7 @@ function sf_bessel_Kn_e(n::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_bessel_Kn_e +Compat.@dep_vectorize_2arg Number sf_bessel_Kn_e # These routines compute the scaled irregular modified cylindrical Bessel @@ -89,7 +89,7 @@ end function sf_bessel_K0_scaled(x::Real) ccall( (:gsl_sf_bessel_K0_scaled, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_bessel_K0_scaled +Compat.@dep_vectorize_1arg Number sf_bessel_K0_scaled # These routines compute the scaled irregular modified cylindrical Bessel @@ -103,7 +103,7 @@ function sf_bessel_K0_scaled_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_bessel_K0_scaled_e +Compat.@dep_vectorize_1arg Number sf_bessel_K0_scaled_e # These routines compute the scaled irregular modified cylindrical Bessel @@ -113,7 +113,7 @@ end function sf_bessel_K1_scaled(x::Real) ccall( (:gsl_sf_bessel_K1_scaled, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_bessel_K1_scaled +Compat.@dep_vectorize_1arg Number sf_bessel_K1_scaled # These routines compute the scaled irregular modified cylindrical Bessel @@ -127,7 +127,7 @@ function sf_bessel_K1_scaled_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_bessel_K1_scaled_e +Compat.@dep_vectorize_1arg Number sf_bessel_K1_scaled_e # These routines compute the scaled irregular modified cylindrical Bessel @@ -138,7 +138,7 @@ function sf_bessel_Kn_scaled(n::Integer, x::Real) ccall( (:gsl_sf_bessel_Kn_scaled, libgsl), Cdouble, (Cint, Cdouble), n, x ) end -@vectorize_2arg Number sf_bessel_Kn_scaled +Compat.@dep_vectorize_2arg Number sf_bessel_Kn_scaled # These routines compute the scaled irregular modified cylindrical Bessel @@ -152,4 +152,4 @@ function sf_bessel_Kn_scaled_e(n::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_bessel_Kn_scaled_e +Compat.@dep_vectorize_2arg Number sf_bessel_Kn_scaled_e diff --git a/src/7_5_5_Regular_Spherical_Bessel_Functions.jl b/src/7_5_5_Regular_Spherical_Bessel_Functions.jl index b79393e..940ee05 100644 --- a/src/7_5_5_Regular_Spherical_Bessel_Functions.jl +++ b/src/7_5_5_Regular_Spherical_Bessel_Functions.jl @@ -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 spherical Bessel function of zeroth order, @@ -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 spherical Bessel function of first order, @@ -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 spherical Bessel function of first order, @@ -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 spherical Bessel function of second order, @@ -63,7 +63,7 @@ end function sf_bessel_j2(x::Real) ccall( (:gsl_sf_bessel_j2, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_bessel_j2 +Compat.@dep_vectorize_1arg Number sf_bessel_j2 # These routines compute the regular spherical Bessel function of second order, @@ -77,7 +77,7 @@ function sf_bessel_j2_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_bessel_j2_e +Compat.@dep_vectorize_1arg Number sf_bessel_j2_e # These routines compute the regular spherical Bessel function of order l, @@ -87,7 +87,7 @@ end function sf_bessel_jl(l::Integer, x::Real) ccall( (:gsl_sf_bessel_jl, libgsl), Cdouble, (Cint, Cdouble), l, x ) end -@vectorize_2arg Number sf_bessel_jl +Compat.@dep_vectorize_2arg Number sf_bessel_jl # These routines compute the regular spherical Bessel function of order l, @@ -101,4 +101,4 @@ function sf_bessel_jl_e(l::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_bessel_jl_e +Compat.@dep_vectorize_2arg Number sf_bessel_jl_e diff --git a/src/7_5_6_Irregular_Spherical_Bessel_Functions.jl b/src/7_5_6_Irregular_Spherical_Bessel_Functions.jl index e476186..9019451 100644 --- a/src/7_5_6_Irregular_Spherical_Bessel_Functions.jl +++ b/src/7_5_6_Irregular_Spherical_Bessel_Functions.jl @@ -14,7 +14,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 spherical Bessel function of zeroth @@ -28,7 +28,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 spherical Bessel function of first @@ -38,7 +38,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 spherical Bessel function of first @@ -52,7 +52,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 spherical Bessel function of second @@ -62,7 +62,7 @@ end function sf_bessel_y2(x::Real) ccall( (:gsl_sf_bessel_y2, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_bessel_y2 +Compat.@dep_vectorize_1arg Number sf_bessel_y2 # These routines compute the irregular spherical Bessel function of second @@ -76,7 +76,7 @@ function sf_bessel_y2_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_bessel_y2_e +Compat.@dep_vectorize_1arg Number sf_bessel_y2_e # These routines compute the irregular spherical Bessel function of order l, @@ -86,7 +86,7 @@ end function sf_bessel_yl(l::Integer, x::Real) ccall( (:gsl_sf_bessel_yl, libgsl), Cdouble, (Cint, Cdouble), l, x ) end -@vectorize_2arg Number sf_bessel_yl +Compat.@dep_vectorize_2arg Number sf_bessel_yl # These routines compute the irregular spherical Bessel function of order l, @@ -100,4 +100,4 @@ function sf_bessel_yl_e(l::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_bessel_yl_e +Compat.@dep_vectorize_2arg Number sf_bessel_yl_e diff --git a/src/7_5_7_Regular_Modified_Spherical_Bessel_Functions.jl b/src/7_5_7_Regular_Modified_Spherical_Bessel_Functions.jl index f32ad8d..e33a43d 100644 --- a/src/7_5_7_Regular_Modified_Spherical_Bessel_Functions.jl +++ b/src/7_5_7_Regular_Modified_Spherical_Bessel_Functions.jl @@ -16,7 +16,7 @@ export sf_bessel_i0_scaled, sf_bessel_i0_scaled_e, sf_bessel_i1_scaled, 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 spherical Bessel function @@ -30,7 +30,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 spherical Bessel function @@ -40,7 +40,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 spherical Bessel function @@ -54,7 +54,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 spherical Bessel function @@ -64,7 +64,7 @@ end function sf_bessel_i2_scaled(x::Real) ccall( (:gsl_sf_bessel_i2_scaled, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_bessel_i2_scaled +Compat.@dep_vectorize_1arg Number sf_bessel_i2_scaled # These routines compute the scaled regular modified spherical Bessel function @@ -78,7 +78,7 @@ function sf_bessel_i2_scaled_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_bessel_i2_scaled_e +Compat.@dep_vectorize_1arg Number sf_bessel_i2_scaled_e # These routines compute the scaled regular modified spherical Bessel function @@ -89,7 +89,7 @@ function sf_bessel_il_scaled(l::Integer, x::Real) ccall( (:gsl_sf_bessel_il_scaled, libgsl), Cdouble, (Cint, Cdouble), l, x ) end -@vectorize_2arg Number sf_bessel_il_scaled +Compat.@dep_vectorize_2arg Number sf_bessel_il_scaled # These routines compute the scaled regular modified spherical Bessel function @@ -103,4 +103,4 @@ function sf_bessel_il_scaled_e(l::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_bessel_il_scaled_e +Compat.@dep_vectorize_2arg Number sf_bessel_il_scaled_e diff --git a/src/7_5_8_Irregular_Modified_Spherical_Bessel_Functions.jl b/src/7_5_8_Irregular_Modified_Spherical_Bessel_Functions.jl index 5a047b2..6353093 100644 --- a/src/7_5_8_Irregular_Modified_Spherical_Bessel_Functions.jl +++ b/src/7_5_8_Irregular_Modified_Spherical_Bessel_Functions.jl @@ -16,7 +16,7 @@ export sf_bessel_k0_scaled, sf_bessel_k0_scaled_e, sf_bessel_k1_scaled, function sf_bessel_k0_scaled(x::Real) ccall( (:gsl_sf_bessel_k0_scaled, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_bessel_k0_scaled +Compat.@dep_vectorize_1arg Number sf_bessel_k0_scaled # These routines compute the scaled irregular modified spherical Bessel @@ -30,7 +30,7 @@ function sf_bessel_k0_scaled_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_bessel_k0_scaled_e +Compat.@dep_vectorize_1arg Number sf_bessel_k0_scaled_e # These routines compute the scaled irregular modified spherical Bessel @@ -40,7 +40,7 @@ end function sf_bessel_k1_scaled(x::Real) ccall( (:gsl_sf_bessel_k1_scaled, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_bessel_k1_scaled +Compat.@dep_vectorize_1arg Number sf_bessel_k1_scaled # These routines compute the scaled irregular modified spherical Bessel @@ -54,7 +54,7 @@ function sf_bessel_k1_scaled_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_bessel_k1_scaled_e +Compat.@dep_vectorize_1arg Number sf_bessel_k1_scaled_e # These routines compute the scaled irregular modified spherical Bessel @@ -64,7 +64,7 @@ end function sf_bessel_k2_scaled(x::Real) ccall( (:gsl_sf_bessel_k2_scaled, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_bessel_k2_scaled +Compat.@dep_vectorize_1arg Number sf_bessel_k2_scaled # These routines compute the scaled irregular modified spherical Bessel @@ -78,7 +78,7 @@ function sf_bessel_k2_scaled_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_bessel_k2_scaled_e +Compat.@dep_vectorize_1arg Number sf_bessel_k2_scaled_e # These routines compute the scaled irregular modified spherical Bessel @@ -89,7 +89,7 @@ function sf_bessel_kl_scaled(l::Integer, x::Real) ccall( (:gsl_sf_bessel_kl_scaled, libgsl), Cdouble, (Cint, Cdouble), l, x ) end -@vectorize_2arg Number sf_bessel_kl_scaled +Compat.@dep_vectorize_2arg Number sf_bessel_kl_scaled # These routines compute the scaled irregular modified spherical Bessel @@ -103,4 +103,4 @@ function sf_bessel_kl_scaled_e(l::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_bessel_kl_scaled_e +Compat.@dep_vectorize_2arg Number sf_bessel_kl_scaled_e diff --git a/src/7_5_Bessel_Functions.jl b/src/7_5_Bessel_Functions.jl index b7699a4..7a5f873 100644 --- a/src/7_5_Bessel_Functions.jl +++ b/src/7_5_Bessel_Functions.jl @@ -25,8 +25,6 @@ for sf in (:sf_bessel_Jn_array, :sf_bessel_Yn_array, if errno!= 0 throw(GSL_ERROR(errno)) end return result_array end - #TODO This vectorization macro is not implemented - #@vectorize_3arg Number $sf end end @@ -45,9 +43,6 @@ for sf in ( if errno!= 0 throw(GSL_ERROR(errno)) end return result_array end - @vectorize_2arg Number $sf + Compat.@dep_vectorize_2arg Number $sf end end - - - diff --git a/src/9_2_Permutation_allocation.jl b/src/9_2_Permutation_allocation.jl index d40d76d..f545cbb 100644 --- a/src/9_2_Permutation_allocation.jl +++ b/src/9_2_Permutation_allocation.jl @@ -20,7 +20,7 @@ function permutation_alloc(n::Integer) Ptr{gsl_permutation}, (Csize_t, ), n ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_1arg Number permutation_alloc +Compat.@dep_vectorize_1arg Number permutation_alloc # This function allocates memory for a new permutation of size n and @@ -33,7 +33,7 @@ function permutation_calloc(n::Integer) Ptr{gsl_permutation}, (Csize_t, ), n ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_1arg Number permutation_calloc +Compat.@dep_vectorize_1arg Number permutation_calloc # This function initializes the permutation p to the identity, i.e. diff --git a/src/GSL.jl b/src/GSL.jl index 6bff636..9f95748 100644 --- a/src/GSL.jl +++ b/src/GSL.jl @@ -2,6 +2,8 @@ __precompile__(true) module GSL +using Compat + if isfile(joinpath(dirname(@__FILE__),"..","deps","deps.jl")) include("../deps/deps.jl") else diff --git a/src/_10_2_Combination_allocation.jl b/src/_10_2_Combination_allocation.jl index a7095b8..a1856f9 100644 --- a/src/_10_2_Combination_allocation.jl +++ b/src/_10_2_Combination_allocation.jl @@ -20,7 +20,7 @@ function combination_alloc(n::Integer, k::Integer) Ptr{gsl_combination}, (Csize_t, Csize_t), n, k ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_2arg Number combination_alloc +Compat.@dep_vectorize_2arg Number combination_alloc # This function allocates memory for a new combination with parameters n, k and @@ -33,7 +33,7 @@ function combination_calloc(n::Integer, k::Integer) Ptr{gsl_combination}, (Csize_t, Csize_t), n, k ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_2arg Number combination_calloc +Compat.@dep_vectorize_2arg Number combination_calloc # This function initializes the combination c to the lexicographically first diff --git a/src/_11_2_Multiset_allocation.jl b/src/_11_2_Multiset_allocation.jl index 5ed73cd..a3cbde9 100644 --- a/src/_11_2_Multiset_allocation.jl +++ b/src/_11_2_Multiset_allocation.jl @@ -20,7 +20,7 @@ function multiset_alloc(n::Integer, k::Integer) (Csize_t, Csize_t), n, k ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_2arg Number multiset_alloc +Compat.@dep_vectorize_2arg Number multiset_alloc # This function allocates memory for a new multiset with parameters n, k and @@ -34,7 +34,7 @@ function multiset_calloc(n::Integer, k::Integer) (Csize_t, Csize_t), n, k ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_2arg Number multiset_calloc +Compat.@dep_vectorize_2arg Number multiset_calloc # This function initializes the multiset c to the lexicographically first diff --git a/src/_17_10_QAWF_adaptive_integration_for_Fourier_integrals.jl b/src/_17_10_QAWF_adaptive_integration_for_Fourier_integrals.jl index 65d334a..62b4421 100644 --- a/src/_17_10_QAWF_adaptive_integration_for_Fourier_integrals.jl +++ b/src/_17_10_QAWF_adaptive_integration_for_Fourier_integrals.jl @@ -41,7 +41,7 @@ export integration_qawf # which may not exceed the allocated size of the workspace. The integration # over each subinterval uses the memory provided by cycle_workspace as # workspace for the QAWO algorithm. -# +# # Returns: Cint function integration_qawf(a::Real, epsabs::Real, limit::Integer) f = Ref{gsl_function}() @@ -58,5 +58,3 @@ function integration_qawf(a::Real, epsabs::Real, limit::Integer) if errno!= 0 throw(GSL_ERROR(errno)) end return f[], workspace[], cycle_workspace[], wf[], result[], abserr[] end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number integration_qawf diff --git a/src/_17_11_CQUAD_doubly-adaptive_integration.jl b/src/_17_11_CQUAD_doubly-adaptive_integration.jl index d408acf..03c36a0 100644 --- a/src/_17_11_CQUAD_doubly-adaptive_integration.jl +++ b/src/_17_11_CQUAD_doubly-adaptive_integration.jl @@ -20,7 +20,7 @@ function integration_cquad_workspace_alloc(n::Integer) Ptr{gsl_integration_cquad_workspace}, (Csize_t, ), n ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_1arg Number integration_cquad_workspace_alloc +Compat.@dep_vectorize_1arg Number integration_cquad_workspace_alloc # This function frees the memory associated with the workspace w. diff --git a/src/_17_12_Gauss-Legendre_integration.jl b/src/_17_12_Gauss-Legendre_integration.jl index f9a5396..387cfc8 100644 --- a/src/_17_12_Gauss-Legendre_integration.jl +++ b/src/_17_12_Gauss-Legendre_integration.jl @@ -19,7 +19,7 @@ function integration_glfixed_table_alloc(n::Integer) Ptr{gsl_integration_glfixed_table}, (Csize_t, ), n ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_1arg Number integration_glfixed_table_alloc +Compat.@dep_vectorize_1arg Number integration_glfixed_table_alloc # This function applies the Gauss-Legendre integration rule contained in table diff --git a/src/_17_3_QAG_adaptive_integration.jl b/src/_17_3_QAG_adaptive_integration.jl index 0b23828..a66d217 100644 --- a/src/_17_3_QAG_adaptive_integration.jl +++ b/src/_17_3_QAG_adaptive_integration.jl @@ -18,7 +18,7 @@ function integration_workspace_alloc(n::Integer) Ptr{gsl_integration_workspace}, (Csize_t, ), n ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_1arg Number integration_workspace_alloc +Compat.@dep_vectorize_1arg Number integration_workspace_alloc # This function frees the memory associated with the workspace w. diff --git a/src/_17_6_QAGI_adaptive_integration_on_infinite_intervals.jl b/src/_17_6_QAGI_adaptive_integration_on_infinite_intervals.jl index 6cd5458..8968d06 100644 --- a/src/_17_6_QAGI_adaptive_integration_on_infinite_intervals.jl +++ b/src/_17_6_QAGI_adaptive_integration_on_infinite_intervals.jl @@ -35,8 +35,6 @@ function integration_qagi(epsabs::Real, epsrel::Real, limit::Integer) if errno!= 0 throw(GSL_ERROR(errno)) end return f[], workspace[], result[], abserr[] end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number integration_qagi # This function computes the integral of the function f over the semi-infinite @@ -58,8 +56,6 @@ function integration_qagiu(a::Real, epsabs::Real, epsrel::Real, limit::Integer) if errno!= 0 throw(GSL_ERROR(errno)) end return f[], workspace[], result[], abserr[] end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number integration_qagiu # This function computes the integral of the function f over the semi-infinite @@ -81,5 +77,3 @@ function integration_qagil(b::Real, epsabs::Real, epsrel::Real, limit::Integer) if errno!= 0 throw(GSL_ERROR(errno)) end return f[], workspace[], result[], abserr[] end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number integration_qagil diff --git a/src/_17_7_QAWC_adaptive_integration_for_Cauchy_principal_values.jl b/src/_17_7_QAWC_adaptive_integration_for_Cauchy_principal_values.jl index 2c06814..ab84657 100644 --- a/src/_17_7_QAWC_adaptive_integration_for_Cauchy_principal_values.jl +++ b/src/_17_7_QAWC_adaptive_integration_for_Cauchy_principal_values.jl @@ -31,5 +31,3 @@ function integration_qawc(a::Real, b::Real, c::Real, epsabs::Real, epsrel::Real, if errno!= 0 throw(GSL_ERROR(errno)) end return f[], workspace[], result[], abserr[] end -#TODO This vectorization macro is not implemented -#@vectorize_6arg Number integration_qawc diff --git a/src/_17_8_QAWS_adaptive_integration_for_singular_functions.jl b/src/_17_8_QAWS_adaptive_integration_for_singular_functions.jl index 7a4ece5..7078e86 100644 --- a/src/_17_8_QAWS_adaptive_integration_for_singular_functions.jl +++ b/src/_17_8_QAWS_adaptive_integration_for_singular_functions.jl @@ -36,8 +36,6 @@ function integration_qaws_table_alloc(alpha::Real, beta::Real, mu::Integer, nu:: beta, mu, nu ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number integration_qaws_table_alloc # This function modifies the parameters (\alpha, \beta, \mu, \nu) of an @@ -87,5 +85,3 @@ function integration_qaws(a::Real, b::Real, epsabs::Real, epsrel::Real, limit::I if errno!= 0 throw(GSL_ERROR(errno)) end return f[], t[], workspace[], result[], abserr[] end -#TODO This vectorization macro is not implemented -#@vectorize_5arg Number integration_qaws diff --git a/src/_17_9_QAWO_adaptive_integration_for_oscillatory_functions.jl b/src/_17_9_QAWO_adaptive_integration_for_oscillatory_functions.jl index 87d9d6a..04c1ae4 100644 --- a/src/_17_9_QAWO_adaptive_integration_for_oscillatory_functions.jl +++ b/src/_17_9_QAWO_adaptive_integration_for_oscillatory_functions.jl @@ -61,7 +61,7 @@ function integration_qawo_table_set_length(L::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return t[] end -@vectorize_1arg Number integration_qawo_table_set_length +Compat.@dep_vectorize_1arg Number integration_qawo_table_set_length # This function frees all the memory associated with the workspace t. @@ -102,5 +102,3 @@ function integration_qawo(a::Real, epsabs::Real, epsrel::Real, limit::Integer) if errno!= 0 throw(GSL_ERROR(errno)) end return f[], workspace[], wf[], result[], abserr[] end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number integration_qawo diff --git a/src/_20_10_The_Rayleigh_Tail_Distribution.jl b/src/_20_10_The_Rayleigh_Tail_Distribution.jl index 5f68e2d..68eeffb 100644 --- a/src/_20_10_The_Rayleigh_Tail_Distribution.jl +++ b/src/_20_10_The_Rayleigh_Tail_Distribution.jl @@ -13,7 +13,7 @@ export ran_rayleigh_tail, ran_rayleigh_tail_pdf # distribution with scale parameter sigma and a lower limit of a. The # distribution is, p(x) dx = {x \over \sigma^2} \exp ((a^2 - # x^2) /(2 \sigma^2)) dx for x > a. -# +# # Returns: Cdouble function ran_rayleigh_tail(r::Ref{gsl_rng}, a::Real, sigma::Real) ccall( (:gsl_ran_rayleigh_tail, libgsl), Cdouble, (Ref{gsl_rng}, @@ -24,11 +24,9 @@ end # This function computes the probability density p(x) at x for a Rayleigh tail # distribution with scale parameter sigma and lower limit a, using the formula # given above. -# +# # Returns: Cdouble function ran_rayleigh_tail_pdf(x::Real, a::Real, sigma::Real) ccall( (:gsl_ran_rayleigh_tail_pdf, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, a, sigma ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number ran_rayleigh_tail_pdf diff --git a/src/_20_11_The_Landau_Distribution.jl b/src/_20_11_The_Landau_Distribution.jl index 2b8ded6..fc4570e 100644 --- a/src/_20_11_The_Landau_Distribution.jl +++ b/src/_20_11_The_Landau_Distribution.jl @@ -31,4 +31,4 @@ end function ran_landau_pdf(x::Real) ccall( (:gsl_ran_landau_pdf, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number ran_landau_pdf +Compat.@dep_vectorize_1arg Number ran_landau_pdf diff --git a/src/_20_14_The_Gamma_Distribution.jl b/src/_20_14_The_Gamma_Distribution.jl index 12f9d59..679ed7f 100644 --- a/src/_20_14_The_Gamma_Distribution.jl +++ b/src/_20_14_The_Gamma_Distribution.jl @@ -43,8 +43,6 @@ function ran_gamma_pdf(x::Real, a::Real, b::Real) ccall( (:gsl_ran_gamma_pdf, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number ran_gamma_pdf # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -55,8 +53,6 @@ function cdf_gamma_P(x::Real, a::Real, b::Real) ccall( (:gsl_cdf_gamma_P, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_gamma_P # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -67,8 +63,6 @@ function cdf_gamma_Q(x::Real, a::Real, b::Real) ccall( (:gsl_cdf_gamma_Q, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_gamma_Q # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -79,8 +73,6 @@ function cdf_gamma_Pinv(P::Real, a::Real, b::Real) ccall( (:gsl_cdf_gamma_Pinv, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), P, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_gamma_Pinv # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -91,5 +83,3 @@ function cdf_gamma_Qinv(Q::Real, a::Real, b::Real) ccall( (:gsl_cdf_gamma_Qinv, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), Q, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_gamma_Qinv diff --git a/src/_20_15_The_Flat_(Uniform)_Distribution.jl b/src/_20_15_The_Flat_(Uniform)_Distribution.jl index a179113..2a023a8 100644 --- a/src/_20_15_The_Flat_(Uniform)_Distribution.jl +++ b/src/_20_15_The_Flat_(Uniform)_Distribution.jl @@ -29,8 +29,6 @@ function ran_flat_pdf(x::Real, a::Real, b::Real) ccall( (:gsl_ran_flat_pdf, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number ran_flat_pdf # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -41,8 +39,6 @@ function cdf_flat_P(x::Real, a::Real, b::Real) ccall( (:gsl_cdf_flat_P, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_flat_P # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -53,8 +49,6 @@ function cdf_flat_Q(x::Real, a::Real, b::Real) ccall( (:gsl_cdf_flat_Q, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_flat_Q # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -65,8 +59,6 @@ function cdf_flat_Pinv(P::Real, a::Real, b::Real) ccall( (:gsl_cdf_flat_Pinv, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), P, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_flat_Pinv # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -77,5 +69,3 @@ function cdf_flat_Qinv(Q::Real, a::Real, b::Real) ccall( (:gsl_cdf_flat_Qinv, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), Q, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_flat_Qinv diff --git a/src/_20_16_The_Lognormal_Distribution.jl b/src/_20_16_The_Lognormal_Distribution.jl index cc4e87a..38b1fda 100644 --- a/src/_20_16_The_Lognormal_Distribution.jl +++ b/src/_20_16_The_Lognormal_Distribution.jl @@ -29,8 +29,6 @@ function ran_lognormal_pdf(x::Real, zeta::Real, sigma::Real) ccall( (:gsl_ran_lognormal_pdf, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, zeta, sigma ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number ran_lognormal_pdf # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -41,8 +39,6 @@ function cdf_lognormal_P(x::Real, zeta::Real, sigma::Real) ccall( (:gsl_cdf_lognormal_P, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, zeta, sigma ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_lognormal_P # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -53,8 +49,6 @@ function cdf_lognormal_Q(x::Real, zeta::Real, sigma::Real) ccall( (:gsl_cdf_lognormal_Q, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, zeta, sigma ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_lognormal_Q # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -65,8 +59,6 @@ function cdf_lognormal_Pinv(P::Real, zeta::Real, sigma::Real) ccall( (:gsl_cdf_lognormal_Pinv, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), P, zeta, sigma ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_lognormal_Pinv # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -77,5 +69,3 @@ function cdf_lognormal_Qinv(Q::Real, zeta::Real, sigma::Real) ccall( (:gsl_cdf_lognormal_Qinv, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), Q, zeta, sigma ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_lognormal_Qinv diff --git a/src/_20_17_The_Chi-squared_Distribution.jl b/src/_20_17_The_Chi-squared_Distribution.jl index 9491524..35dc152 100644 --- a/src/_20_17_The_Chi-squared_Distribution.jl +++ b/src/_20_17_The_Chi-squared_Distribution.jl @@ -31,7 +31,7 @@ function ran_chisq_pdf(x::Real, nu::Real) ccall( (:gsl_ran_chisq_pdf, libgsl), Cdouble, (Cdouble, Cdouble), x, nu ) end -@vectorize_2arg Number ran_chisq_pdf +Compat.@dep_vectorize_2arg Number ran_chisq_pdf # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -42,7 +42,7 @@ function cdf_chisq_P(x::Real, nu::Real) ccall( (:gsl_cdf_chisq_P, libgsl), Cdouble, (Cdouble, Cdouble), x, nu ) end -@vectorize_2arg Number cdf_chisq_P +Compat.@dep_vectorize_2arg Number cdf_chisq_P # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -53,7 +53,7 @@ function cdf_chisq_Q(x::Real, nu::Real) ccall( (:gsl_cdf_chisq_Q, libgsl), Cdouble, (Cdouble, Cdouble), x, nu ) end -@vectorize_2arg Number cdf_chisq_Q +Compat.@dep_vectorize_2arg Number cdf_chisq_Q # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -64,7 +64,7 @@ function cdf_chisq_Pinv(P::Real, nu::Real) ccall( (:gsl_cdf_chisq_Pinv, libgsl), Cdouble, (Cdouble, Cdouble), P, nu ) end -@vectorize_2arg Number cdf_chisq_Pinv +Compat.@dep_vectorize_2arg Number cdf_chisq_Pinv # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -75,4 +75,4 @@ function cdf_chisq_Qinv(Q::Real, nu::Real) ccall( (:gsl_cdf_chisq_Qinv, libgsl), Cdouble, (Cdouble, Cdouble), Q, nu ) end -@vectorize_2arg Number cdf_chisq_Qinv +Compat.@dep_vectorize_2arg Number cdf_chisq_Qinv diff --git a/src/_20_18_The_F-distribution.jl b/src/_20_18_The_F-distribution.jl index a153df2..9f75961 100644 --- a/src/_20_18_The_F-distribution.jl +++ b/src/_20_18_The_F-distribution.jl @@ -35,8 +35,6 @@ function ran_fdist_pdf(x::Real, nu1::Real, nu2::Real) ccall( (:gsl_ran_fdist_pdf, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, nu1, nu2 ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number ran_fdist_pdf # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -47,8 +45,6 @@ function cdf_fdist_P(x::Real, nu1::Real, nu2::Real) ccall( (:gsl_cdf_fdist_P, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, nu1, nu2 ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_fdist_P # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -59,8 +55,6 @@ function cdf_fdist_Q(x::Real, nu1::Real, nu2::Real) ccall( (:gsl_cdf_fdist_Q, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, nu1, nu2 ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_fdist_Q # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -71,8 +65,6 @@ function cdf_fdist_Pinv(P::Real, nu1::Real, nu2::Real) ccall( (:gsl_cdf_fdist_Pinv, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), P, nu1, nu2 ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_fdist_Pinv # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -83,5 +75,3 @@ function cdf_fdist_Qinv(Q::Real, nu1::Real, nu2::Real) ccall( (:gsl_cdf_fdist_Qinv, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), Q, nu1, nu2 ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_fdist_Qinv diff --git a/src/_20_19_The_t-distribution.jl b/src/_20_19_The_t-distribution.jl index 14c7a2c..5957284 100644 --- a/src/_20_19_The_t-distribution.jl +++ b/src/_20_19_The_t-distribution.jl @@ -32,7 +32,7 @@ function ran_tdist_pdf(x::Real, nu::Real) ccall( (:gsl_ran_tdist_pdf, libgsl), Cdouble, (Cdouble, Cdouble), x, nu ) end -@vectorize_2arg Number ran_tdist_pdf +Compat.@dep_vectorize_2arg Number ran_tdist_pdf # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -43,7 +43,7 @@ function cdf_tdist_P(x::Real, nu::Real) ccall( (:gsl_cdf_tdist_P, libgsl), Cdouble, (Cdouble, Cdouble), x, nu ) end -@vectorize_2arg Number cdf_tdist_P +Compat.@dep_vectorize_2arg Number cdf_tdist_P # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -54,7 +54,7 @@ function cdf_tdist_Q(x::Real, nu::Real) ccall( (:gsl_cdf_tdist_Q, libgsl), Cdouble, (Cdouble, Cdouble), x, nu ) end -@vectorize_2arg Number cdf_tdist_Q +Compat.@dep_vectorize_2arg Number cdf_tdist_Q # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -65,7 +65,7 @@ function cdf_tdist_Pinv(P::Real, nu::Real) ccall( (:gsl_cdf_tdist_Pinv, libgsl), Cdouble, (Cdouble, Cdouble), P, nu ) end -@vectorize_2arg Number cdf_tdist_Pinv +Compat.@dep_vectorize_2arg Number cdf_tdist_Pinv # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -76,4 +76,4 @@ function cdf_tdist_Qinv(Q::Real, nu::Real) ccall( (:gsl_cdf_tdist_Qinv, libgsl), Cdouble, (Cdouble, Cdouble), Q, nu ) end -@vectorize_2arg Number cdf_tdist_Qinv +Compat.@dep_vectorize_2arg Number cdf_tdist_Qinv diff --git a/src/_20_20_The_Beta_Distribution.jl b/src/_20_20_The_Beta_Distribution.jl index 330776d..87d9f08 100644 --- a/src/_20_20_The_Beta_Distribution.jl +++ b/src/_20_20_The_Beta_Distribution.jl @@ -29,8 +29,6 @@ function ran_beta_pdf(x::Real, a::Real, b::Real) ccall( (:gsl_ran_beta_pdf, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number ran_beta_pdf # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -41,8 +39,6 @@ function cdf_beta_P(x::Real, a::Real, b::Real) ccall( (:gsl_cdf_beta_P, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_beta_P # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -53,8 +49,6 @@ function cdf_beta_Q(x::Real, a::Real, b::Real) ccall( (:gsl_cdf_beta_Q, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_beta_Q # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -65,8 +59,6 @@ function cdf_beta_Pinv(P::Real, a::Real, b::Real) ccall( (:gsl_cdf_beta_Pinv, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), P, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_beta_Pinv # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -77,5 +69,3 @@ function cdf_beta_Qinv(Q::Real, a::Real, b::Real) ccall( (:gsl_cdf_beta_Qinv, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), Q, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_beta_Qinv diff --git a/src/_20_21_The_Logistic_Distribution.jl b/src/_20_21_The_Logistic_Distribution.jl index 354e8e3..f183647 100644 --- a/src/_20_21_The_Logistic_Distribution.jl +++ b/src/_20_21_The_Logistic_Distribution.jl @@ -29,7 +29,7 @@ function ran_logistic_pdf(x::Real, a::Real) ccall( (:gsl_ran_logistic_pdf, libgsl), Cdouble, (Cdouble, Cdouble), x, a ) end -@vectorize_2arg Number ran_logistic_pdf +Compat.@dep_vectorize_2arg Number ran_logistic_pdf # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -40,7 +40,7 @@ function cdf_logistic_P(x::Real, a::Real) ccall( (:gsl_cdf_logistic_P, libgsl), Cdouble, (Cdouble, Cdouble), x, a ) end -@vectorize_2arg Number cdf_logistic_P +Compat.@dep_vectorize_2arg Number cdf_logistic_P # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -51,7 +51,7 @@ function cdf_logistic_Q(x::Real, a::Real) ccall( (:gsl_cdf_logistic_Q, libgsl), Cdouble, (Cdouble, Cdouble), x, a ) end -@vectorize_2arg Number cdf_logistic_Q +Compat.@dep_vectorize_2arg Number cdf_logistic_Q # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -62,7 +62,7 @@ function cdf_logistic_Pinv(P::Real, a::Real) ccall( (:gsl_cdf_logistic_Pinv, libgsl), Cdouble, (Cdouble, Cdouble), P, a ) end -@vectorize_2arg Number cdf_logistic_Pinv +Compat.@dep_vectorize_2arg Number cdf_logistic_Pinv # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -73,4 +73,4 @@ function cdf_logistic_Qinv(Q::Real, a::Real) ccall( (:gsl_cdf_logistic_Qinv, libgsl), Cdouble, (Cdouble, Cdouble), Q, a ) end -@vectorize_2arg Number cdf_logistic_Qinv +Compat.@dep_vectorize_2arg Number cdf_logistic_Qinv diff --git a/src/_20_22_The_Pareto_Distribution.jl b/src/_20_22_The_Pareto_Distribution.jl index 8065fb5..fe51e1f 100644 --- a/src/_20_22_The_Pareto_Distribution.jl +++ b/src/_20_22_The_Pareto_Distribution.jl @@ -29,8 +29,6 @@ function ran_pareto_pdf(x::Real, a::Real, b::Real) ccall( (:gsl_ran_pareto_pdf, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number ran_pareto_pdf # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -41,8 +39,6 @@ function cdf_pareto_P(x::Real, a::Real, b::Real) ccall( (:gsl_cdf_pareto_P, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_pareto_P # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -53,8 +49,6 @@ function cdf_pareto_Q(x::Real, a::Real, b::Real) ccall( (:gsl_cdf_pareto_Q, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_pareto_Q # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -65,8 +59,6 @@ function cdf_pareto_Pinv(P::Real, a::Real, b::Real) ccall( (:gsl_cdf_pareto_Pinv, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), P, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_pareto_Pinv # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -77,5 +69,3 @@ function cdf_pareto_Qinv(Q::Real, a::Real, b::Real) ccall( (:gsl_cdf_pareto_Qinv, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), Q, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_pareto_Qinv diff --git a/src/_20_24_The_Weibull_Distribution.jl b/src/_20_24_The_Weibull_Distribution.jl index 26bc6bb..83d9555 100644 --- a/src/_20_24_The_Weibull_Distribution.jl +++ b/src/_20_24_The_Weibull_Distribution.jl @@ -29,8 +29,6 @@ function ran_weibull_pdf(x::Real, a::Real, b::Real) ccall( (:gsl_ran_weibull_pdf, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number ran_weibull_pdf # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -41,8 +39,6 @@ function cdf_weibull_P(x::Real, a::Real, b::Real) ccall( (:gsl_cdf_weibull_P, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_weibull_P # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -53,8 +49,6 @@ function cdf_weibull_Q(x::Real, a::Real, b::Real) ccall( (:gsl_cdf_weibull_Q, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_weibull_Q # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -65,8 +59,6 @@ function cdf_weibull_Pinv(P::Real, a::Real, b::Real) ccall( (:gsl_cdf_weibull_Pinv, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), P, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_weibull_Pinv # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -77,5 +69,3 @@ function cdf_weibull_Qinv(Q::Real, a::Real, b::Real) ccall( (:gsl_cdf_weibull_Qinv, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), Q, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_weibull_Qinv diff --git a/src/_20_25_The_Type-1_Gumbel_Distribution.jl b/src/_20_25_The_Type-1_Gumbel_Distribution.jl index ff16aef..dc64107 100644 --- a/src/_20_25_The_Type-1_Gumbel_Distribution.jl +++ b/src/_20_25_The_Type-1_Gumbel_Distribution.jl @@ -29,8 +29,6 @@ function ran_gumbel1_pdf(x::Real, a::Real, b::Real) ccall( (:gsl_ran_gumbel1_pdf, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number ran_gumbel1_pdf # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -41,8 +39,6 @@ function cdf_gumbel1_P(x::Real, a::Real, b::Real) ccall( (:gsl_cdf_gumbel1_P, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_gumbel1_P # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -53,8 +49,6 @@ function cdf_gumbel1_Q(x::Real, a::Real, b::Real) ccall( (:gsl_cdf_gumbel1_Q, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_gumbel1_Q # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -65,8 +59,6 @@ function cdf_gumbel1_Pinv(P::Real, a::Real, b::Real) ccall( (:gsl_cdf_gumbel1_Pinv, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), P, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_gumbel1_Pinv # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -77,5 +69,3 @@ function cdf_gumbel1_Qinv(Q::Real, a::Real, b::Real) ccall( (:gsl_cdf_gumbel1_Qinv, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), Q, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_gumbel1_Qinv diff --git a/src/_20_26_The_Type-2_Gumbel_Distribution.jl b/src/_20_26_The_Type-2_Gumbel_Distribution.jl index 2c3ac77..484da65 100644 --- a/src/_20_26_The_Type-2_Gumbel_Distribution.jl +++ b/src/_20_26_The_Type-2_Gumbel_Distribution.jl @@ -29,8 +29,6 @@ function ran_gumbel2_pdf(x::Real, a::Real, b::Real) ccall( (:gsl_ran_gumbel2_pdf, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number ran_gumbel2_pdf # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -41,8 +39,6 @@ function cdf_gumbel2_P(x::Real, a::Real, b::Real) ccall( (:gsl_cdf_gumbel2_P, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_gumbel2_P # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -53,8 +49,6 @@ function cdf_gumbel2_Q(x::Real, a::Real, b::Real) ccall( (:gsl_cdf_gumbel2_Q, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_gumbel2_Q # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -65,8 +59,6 @@ function cdf_gumbel2_Pinv(P::Real, a::Real, b::Real) ccall( (:gsl_cdf_gumbel2_Pinv, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), P, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_gumbel2_Pinv # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -77,5 +69,3 @@ function cdf_gumbel2_Qinv(Q::Real, a::Real, b::Real) ccall( (:gsl_cdf_gumbel2_Qinv, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), Q, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_gumbel2_Qinv diff --git a/src/_20_27_The_Dirichlet_Distribution.jl b/src/_20_27_The_Dirichlet_Distribution.jl index 68b2872..245b4f2 100644 --- a/src/_20_27_The_Dirichlet_Distribution.jl +++ b/src/_20_27_The_Dirichlet_Distribution.jl @@ -38,7 +38,7 @@ function ran_dirichlet_pdf(K::Integer, alpha::Real) ccall( (:gsl_ran_dirichlet_pdf, libgsl), Cdouble, (Csize_t, Cdouble), K, alpha ) end -@vectorize_2arg Number ran_dirichlet_pdf +Compat.@dep_vectorize_2arg Number ran_dirichlet_pdf # This function computes the logarithm of the probability density p(\theta_1, @@ -49,4 +49,4 @@ function ran_dirichlet_lnpdf(K::Integer, alpha::Real) ccall( (:gsl_ran_dirichlet_lnpdf, libgsl), Cdouble, (Csize_t, Cdouble), K, alpha ) end -@vectorize_2arg Number ran_dirichlet_lnpdf +Compat.@dep_vectorize_2arg Number ran_dirichlet_lnpdf diff --git a/src/_20_29_The_Poisson_Distribution.jl b/src/_20_29_The_Poisson_Distribution.jl index 3e6663a..a142a5b 100644 --- a/src/_20_29_The_Poisson_Distribution.jl +++ b/src/_20_29_The_Poisson_Distribution.jl @@ -28,7 +28,7 @@ function ran_poisson_pdf(k::Integer, mu::Real) ccall( (:gsl_ran_poisson_pdf, libgsl), Cdouble, (Cuint, Cdouble), k, mu ) end -@vectorize_2arg Number ran_poisson_pdf +Compat.@dep_vectorize_2arg Number ran_poisson_pdf # These functions compute the cumulative distribution functions P(k), Q(k) for @@ -39,7 +39,7 @@ function cdf_poisson_P(k::Integer, mu::Real) ccall( (:gsl_cdf_poisson_P, libgsl), Cdouble, (Cuint, Cdouble), k, mu ) end -@vectorize_2arg Number cdf_poisson_P +Compat.@dep_vectorize_2arg Number cdf_poisson_P # These functions compute the cumulative distribution functions P(k), Q(k) for @@ -50,4 +50,4 @@ function cdf_poisson_Q(k::Integer, mu::Real) ccall( (:gsl_cdf_poisson_Q, libgsl), Cdouble, (Cuint, Cdouble), k, mu ) end -@vectorize_2arg Number cdf_poisson_Q +Compat.@dep_vectorize_2arg Number cdf_poisson_Q diff --git a/src/_20_2_The_Gaussian_Distribution.jl b/src/_20_2_The_Gaussian_Distribution.jl index 3effc0e..1c7473d 100644 --- a/src/_20_2_The_Gaussian_Distribution.jl +++ b/src/_20_2_The_Gaussian_Distribution.jl @@ -36,7 +36,7 @@ function ran_gaussian_pdf(x::Real, sigma::Real) ccall( (:gsl_ran_gaussian_pdf, libgsl), Cdouble, (Cdouble, Cdouble), x, sigma ) end -@vectorize_2arg Number ran_gaussian_pdf +Compat.@dep_vectorize_2arg Number ran_gaussian_pdf # This function computes a Gaussian random variate using the alternative @@ -79,7 +79,7 @@ end function ran_ugaussian_pdf(x::Real) ccall( (:gsl_ran_ugaussian_pdf, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number ran_ugaussian_pdf +Compat.@dep_vectorize_1arg Number ran_ugaussian_pdf # These functions compute results for the unit Gaussian distribution. They are @@ -101,7 +101,7 @@ function cdf_gaussian_P(x::Real, sigma::Real) ccall( (:gsl_cdf_gaussian_P, libgsl), Cdouble, (Cdouble, Cdouble), x, sigma ) end -@vectorize_2arg Number cdf_gaussian_P +Compat.@dep_vectorize_2arg Number cdf_gaussian_P # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -112,7 +112,7 @@ function cdf_gaussian_Q(x::Real, sigma::Real) ccall( (:gsl_cdf_gaussian_Q, libgsl), Cdouble, (Cdouble, Cdouble), x, sigma ) end -@vectorize_2arg Number cdf_gaussian_Q +Compat.@dep_vectorize_2arg Number cdf_gaussian_Q # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -123,7 +123,7 @@ function cdf_gaussian_Pinv(P::Real, sigma::Real) ccall( (:gsl_cdf_gaussian_Pinv, libgsl), Cdouble, (Cdouble, Cdouble), P, sigma ) end -@vectorize_2arg Number cdf_gaussian_Pinv +Compat.@dep_vectorize_2arg Number cdf_gaussian_Pinv # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -134,7 +134,7 @@ function cdf_gaussian_Qinv(Q::Real, sigma::Real) ccall( (:gsl_cdf_gaussian_Qinv, libgsl), Cdouble, (Cdouble, Cdouble), Q, sigma ) end -@vectorize_2arg Number cdf_gaussian_Qinv +Compat.@dep_vectorize_2arg Number cdf_gaussian_Qinv # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -144,7 +144,7 @@ end function cdf_ugaussian_P(x::Real) ccall( (:gsl_cdf_ugaussian_P, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number cdf_ugaussian_P +Compat.@dep_vectorize_1arg Number cdf_ugaussian_P # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -154,7 +154,7 @@ end function cdf_ugaussian_Q(x::Real) ccall( (:gsl_cdf_ugaussian_Q, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number cdf_ugaussian_Q +Compat.@dep_vectorize_1arg Number cdf_ugaussian_Q # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -164,7 +164,7 @@ end function cdf_ugaussian_Pinv(P::Real) ccall( (:gsl_cdf_ugaussian_Pinv, libgsl), Cdouble, (Cdouble, ), P ) end -@vectorize_1arg Number cdf_ugaussian_Pinv +Compat.@dep_vectorize_1arg Number cdf_ugaussian_Pinv # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -174,4 +174,4 @@ end function cdf_ugaussian_Qinv(Q::Real) ccall( (:gsl_cdf_ugaussian_Qinv, libgsl), Cdouble, (Cdouble, ), Q ) end -@vectorize_1arg Number cdf_ugaussian_Qinv +Compat.@dep_vectorize_1arg Number cdf_ugaussian_Qinv diff --git a/src/_20_30_The_Bernoulli_Distribution.jl b/src/_20_30_The_Bernoulli_Distribution.jl index 430a08d..0877f09 100644 --- a/src/_20_30_The_Bernoulli_Distribution.jl +++ b/src/_20_30_The_Bernoulli_Distribution.jl @@ -28,4 +28,4 @@ function ran_bernoulli_pdf(k::Integer, p::Real) ccall( (:gsl_ran_bernoulli_pdf, libgsl), Cdouble, (Cuint, Cdouble), k, p ) end -@vectorize_2arg Number ran_bernoulli_pdf +Compat.@dep_vectorize_2arg Number ran_bernoulli_pdf diff --git a/src/_20_31_The_Binomial_Distribution.jl b/src/_20_31_The_Binomial_Distribution.jl index d5a6c25..8a0b3b7 100644 --- a/src/_20_31_The_Binomial_Distribution.jl +++ b/src/_20_31_The_Binomial_Distribution.jl @@ -29,8 +29,6 @@ function ran_binomial_pdf(k::Integer, p::Real, n::Integer) ccall( (:gsl_ran_binomial_pdf, libgsl), Cdouble, (Cuint, Cdouble, Cuint), k, p, n ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number ran_binomial_pdf # These functions compute the cumulative distribution functions P(k), Q(k) for @@ -41,8 +39,6 @@ function cdf_binomial_P(k::Integer, p::Real, n::Integer) ccall( (:gsl_cdf_binomial_P, libgsl), Cdouble, (Cuint, Cdouble, Cuint), k, p, n ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_binomial_P # These functions compute the cumulative distribution functions P(k), Q(k) for @@ -53,5 +49,3 @@ function cdf_binomial_Q(k::Integer, p::Real, n::Integer) ccall( (:gsl_cdf_binomial_Q, libgsl), Cdouble, (Cuint, Cdouble, Cuint), k, p, n ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_binomial_Q diff --git a/src/_20_32_The_Multinomial_Distribution.jl b/src/_20_32_The_Multinomial_Distribution.jl index abec787..9afa592 100644 --- a/src/_20_32_The_Multinomial_Distribution.jl +++ b/src/_20_32_The_Multinomial_Distribution.jl @@ -37,7 +37,7 @@ function ran_multinomial_pdf(K::Integer, p::Real) ccall( (:gsl_ran_multinomial_pdf, libgsl), Cdouble, (Csize_t, Cdouble), K, p ) end -@vectorize_2arg Number ran_multinomial_pdf +Compat.@dep_vectorize_2arg Number ran_multinomial_pdf # This function returns the logarithm of the probability for the multinomial @@ -48,4 +48,4 @@ function ran_multinomial_lnpdf(K::Integer, p::Real) ccall( (:gsl_ran_multinomial_lnpdf, libgsl), Cdouble, (Csize_t, Cdouble), K, p ) end -@vectorize_2arg Number ran_multinomial_lnpdf +Compat.@dep_vectorize_2arg Number ran_multinomial_lnpdf diff --git a/src/_20_33_The_Negative_Binomial_Distribution.jl b/src/_20_33_The_Negative_Binomial_Distribution.jl index 982504f..840a41d 100644 --- a/src/_20_33_The_Negative_Binomial_Distribution.jl +++ b/src/_20_33_The_Negative_Binomial_Distribution.jl @@ -32,8 +32,6 @@ function ran_negative_binomial_pdf(k::Integer, p::Real, n::Real) ccall( (:gsl_ran_negative_binomial_pdf, libgsl), Cdouble, (Cuint, Cdouble, Cdouble), k, p, n ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number ran_negative_binomial_pdf # These functions compute the cumulative distribution functions P(k), Q(k) for @@ -44,8 +42,6 @@ function cdf_negative_binomial_P(k::Integer, p::Real, n::Real) ccall( (:gsl_cdf_negative_binomial_P, libgsl), Cdouble, (Cuint, Cdouble, Cdouble), k, p, n ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_negative_binomial_P # These functions compute the cumulative distribution functions P(k), Q(k) for @@ -56,5 +52,3 @@ function cdf_negative_binomial_Q(k::Integer, p::Real, n::Real) ccall( (:gsl_cdf_negative_binomial_Q, libgsl), Cdouble, (Cuint, Cdouble, Cdouble), k, p, n ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_negative_binomial_Q diff --git a/src/_20_34_The_Pascal_Distribution.jl b/src/_20_34_The_Pascal_Distribution.jl index db6233f..9d8fefb 100644 --- a/src/_20_34_The_Pascal_Distribution.jl +++ b/src/_20_34_The_Pascal_Distribution.jl @@ -29,8 +29,6 @@ function ran_pascal_pdf(k::Integer, p::Real, n::Integer) ccall( (:gsl_ran_pascal_pdf, libgsl), Cdouble, (Cuint, Cdouble, Cuint), k, p, n ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number ran_pascal_pdf # These functions compute the cumulative distribution functions P(k), Q(k) for @@ -41,8 +39,6 @@ function cdf_pascal_P(k::Integer, p::Real, n::Integer) ccall( (:gsl_cdf_pascal_P, libgsl), Cdouble, (Cuint, Cdouble, Cuint), k, p, n ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_pascal_P # These functions compute the cumulative distribution functions P(k), Q(k) for @@ -53,5 +49,3 @@ function cdf_pascal_Q(k::Integer, p::Real, n::Integer) ccall( (:gsl_cdf_pascal_Q, libgsl), Cdouble, (Cuint, Cdouble, Cuint), k, p, n ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_pascal_Q diff --git a/src/_20_35_The_Geometric_Distribution.jl b/src/_20_35_The_Geometric_Distribution.jl index c8caa0c..43069e9 100644 --- a/src/_20_35_The_Geometric_Distribution.jl +++ b/src/_20_35_The_Geometric_Distribution.jl @@ -31,7 +31,7 @@ function ran_geometric_pdf(k::Integer, p::Real) ccall( (:gsl_ran_geometric_pdf, libgsl), Cdouble, (Cuint, Cdouble), k, p ) end -@vectorize_2arg Number ran_geometric_pdf +Compat.@dep_vectorize_2arg Number ran_geometric_pdf # These functions compute the cumulative distribution functions P(k), Q(k) for @@ -42,7 +42,7 @@ function cdf_geometric_P(k::Integer, p::Real) ccall( (:gsl_cdf_geometric_P, libgsl), Cdouble, (Cuint, Cdouble), k, p ) end -@vectorize_2arg Number cdf_geometric_P +Compat.@dep_vectorize_2arg Number cdf_geometric_P # These functions compute the cumulative distribution functions P(k), Q(k) for @@ -53,4 +53,4 @@ function cdf_geometric_Q(k::Integer, p::Real) ccall( (:gsl_cdf_geometric_Q, libgsl), Cdouble, (Cuint, Cdouble), k, p ) end -@vectorize_2arg Number cdf_geometric_Q +Compat.@dep_vectorize_2arg Number cdf_geometric_Q diff --git a/src/_20_36_The_Hypergeometric_Distribution.jl b/src/_20_36_The_Hypergeometric_Distribution.jl index 448307a..b1865bb 100644 --- a/src/_20_36_The_Hypergeometric_Distribution.jl +++ b/src/_20_36_The_Hypergeometric_Distribution.jl @@ -35,8 +35,6 @@ function ran_hypergeometric_pdf(k::Integer, n1::Integer, n2::Integer, t::Integer ccall( (:gsl_ran_hypergeometric_pdf, libgsl), Cdouble, (Cuint, Cuint, Cuint, Cuint), k, n1, n2, t ) end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number ran_hypergeometric_pdf # These functions compute the cumulative distribution functions P(k), Q(k) for @@ -47,8 +45,6 @@ function cdf_hypergeometric_P(k::Integer, n1::Integer, n2::Integer, t::Integer) ccall( (:gsl_cdf_hypergeometric_P, libgsl), Cdouble, (Cuint, Cuint, Cuint, Cuint), k, n1, n2, t ) end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number cdf_hypergeometric_P # These functions compute the cumulative distribution functions P(k), Q(k) for @@ -59,5 +55,3 @@ function cdf_hypergeometric_Q(k::Integer, n1::Integer, n2::Integer, t::Integer) ccall( (:gsl_cdf_hypergeometric_Q, libgsl), Cdouble, (Cuint, Cuint, Cuint, Cuint), k, n1, n2, t ) end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number cdf_hypergeometric_Q diff --git a/src/_20_37_The_Logarithmic_Distribution.jl b/src/_20_37_The_Logarithmic_Distribution.jl index da8c17b..f127209 100644 --- a/src/_20_37_The_Logarithmic_Distribution.jl +++ b/src/_20_37_The_Logarithmic_Distribution.jl @@ -28,4 +28,4 @@ function ran_logarithmic_pdf(k::Integer, p::Real) ccall( (:gsl_ran_logarithmic_pdf, libgsl), Cdouble, (Cuint, Cdouble), k, p ) end -@vectorize_2arg Number ran_logarithmic_pdf +Compat.@dep_vectorize_2arg Number ran_logarithmic_pdf diff --git a/src/_20_3_The_Gaussian_Tail_Distribution.jl b/src/_20_3_The_Gaussian_Tail_Distribution.jl index fdbc6c6..298926e 100644 --- a/src/_20_3_The_Gaussian_Tail_Distribution.jl +++ b/src/_20_3_The_Gaussian_Tail_Distribution.jl @@ -39,8 +39,6 @@ function ran_gaussian_tail_pdf(x::Real, a::Real, sigma::Real) ccall( (:gsl_ran_gaussian_tail_pdf, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, a, sigma ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number ran_gaussian_tail_pdf # These functions compute results for the tail of a unit Gaussian distribution. @@ -63,4 +61,4 @@ function ran_ugaussian_tail_pdf(x::Real, a::Real) ccall( (:gsl_ran_ugaussian_tail_pdf, libgsl), Cdouble, (Cdouble, Cdouble), x, a ) end -@vectorize_2arg Number ran_ugaussian_tail_pdf +Compat.@dep_vectorize_2arg Number ran_ugaussian_tail_pdf diff --git a/src/_20_4_The_Bivariate_Gaussian_Distribution.jl b/src/_20_4_The_Bivariate_Gaussian_Distribution.jl index f792e31..eb370f6 100644 --- a/src/_20_4_The_Bivariate_Gaussian_Distribution.jl +++ b/src/_20_4_The_Bivariate_Gaussian_Distribution.jl @@ -38,5 +38,3 @@ function ran_bivariate_gaussian_pdf(x::Real, y::Real, sigma_x::Real, sigma_y::Re ccall( (:gsl_ran_bivariate_gaussian_pdf, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble, Cdouble, Cdouble), x, y, sigma_x, sigma_y, rho ) end -#TODO This vectorization macro is not implemented -#@vectorize_5arg Number ran_bivariate_gaussian_pdf diff --git a/src/_20_5_The_Exponential_Distribution.jl b/src/_20_5_The_Exponential_Distribution.jl index 275f9ed..2b7f6dd 100644 --- a/src/_20_5_The_Exponential_Distribution.jl +++ b/src/_20_5_The_Exponential_Distribution.jl @@ -29,7 +29,7 @@ function ran_exponential_pdf(x::Real, mu::Real) ccall( (:gsl_ran_exponential_pdf, libgsl), Cdouble, (Cdouble, Cdouble), x, mu ) end -@vectorize_2arg Number ran_exponential_pdf +Compat.@dep_vectorize_2arg Number ran_exponential_pdf # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -40,7 +40,7 @@ function cdf_exponential_P(x::Real, mu::Real) ccall( (:gsl_cdf_exponential_P, libgsl), Cdouble, (Cdouble, Cdouble), x, mu ) end -@vectorize_2arg Number cdf_exponential_P +Compat.@dep_vectorize_2arg Number cdf_exponential_P # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -51,7 +51,7 @@ function cdf_exponential_Q(x::Real, mu::Real) ccall( (:gsl_cdf_exponential_Q, libgsl), Cdouble, (Cdouble, Cdouble), x, mu ) end -@vectorize_2arg Number cdf_exponential_Q +Compat.@dep_vectorize_2arg Number cdf_exponential_Q # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -62,7 +62,7 @@ function cdf_exponential_Pinv(P::Real, mu::Real) ccall( (:gsl_cdf_exponential_Pinv, libgsl), Cdouble, (Cdouble, Cdouble), P, mu ) end -@vectorize_2arg Number cdf_exponential_Pinv +Compat.@dep_vectorize_2arg Number cdf_exponential_Pinv # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -73,4 +73,4 @@ function cdf_exponential_Qinv(Q::Real, mu::Real) ccall( (:gsl_cdf_exponential_Qinv, libgsl), Cdouble, (Cdouble, Cdouble), Q, mu ) end -@vectorize_2arg Number cdf_exponential_Qinv +Compat.@dep_vectorize_2arg Number cdf_exponential_Qinv diff --git a/src/_20_6_The_Laplace_Distribution.jl b/src/_20_6_The_Laplace_Distribution.jl index 4257155..45ef211 100644 --- a/src/_20_6_The_Laplace_Distribution.jl +++ b/src/_20_6_The_Laplace_Distribution.jl @@ -29,7 +29,7 @@ function ran_laplace_pdf(x::Real, a::Real) ccall( (:gsl_ran_laplace_pdf, libgsl), Cdouble, (Cdouble, Cdouble), x, a ) end -@vectorize_2arg Number ran_laplace_pdf +Compat.@dep_vectorize_2arg Number ran_laplace_pdf # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -40,7 +40,7 @@ function cdf_laplace_P(x::Real, a::Real) ccall( (:gsl_cdf_laplace_P, libgsl), Cdouble, (Cdouble, Cdouble), x, a ) end -@vectorize_2arg Number cdf_laplace_P +Compat.@dep_vectorize_2arg Number cdf_laplace_P # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -51,7 +51,7 @@ function cdf_laplace_Q(x::Real, a::Real) ccall( (:gsl_cdf_laplace_Q, libgsl), Cdouble, (Cdouble, Cdouble), x, a ) end -@vectorize_2arg Number cdf_laplace_Q +Compat.@dep_vectorize_2arg Number cdf_laplace_Q # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -62,7 +62,7 @@ function cdf_laplace_Pinv(P::Real, a::Real) ccall( (:gsl_cdf_laplace_Pinv, libgsl), Cdouble, (Cdouble, Cdouble), P, a ) end -@vectorize_2arg Number cdf_laplace_Pinv +Compat.@dep_vectorize_2arg Number cdf_laplace_Pinv # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -73,4 +73,4 @@ function cdf_laplace_Qinv(Q::Real, a::Real) ccall( (:gsl_cdf_laplace_Qinv, libgsl), Cdouble, (Cdouble, Cdouble), Q, a ) end -@vectorize_2arg Number cdf_laplace_Qinv +Compat.@dep_vectorize_2arg Number cdf_laplace_Qinv diff --git a/src/_20_7_The_Exponential_Power_Distribution.jl b/src/_20_7_The_Exponential_Power_Distribution.jl index 676d830..0a9e2d6 100644 --- a/src/_20_7_The_Exponential_Power_Distribution.jl +++ b/src/_20_7_The_Exponential_Power_Distribution.jl @@ -31,8 +31,6 @@ function ran_exppow_pdf(x::Real, a::Real, b::Real) ccall( (:gsl_ran_exppow_pdf, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number ran_exppow_pdf # These functions compute the cumulative distribution functions P(x), Q(x) for @@ -43,8 +41,6 @@ function cdf_exppow_P(x::Real, a::Real, b::Real) ccall( (:gsl_cdf_exppow_P, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_exppow_P # These functions compute the cumulative distribution functions P(x), Q(x) for @@ -55,5 +51,3 @@ function cdf_exppow_Q(x::Real, a::Real, b::Real) ccall( (:gsl_cdf_exppow_Q, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, a, b ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number cdf_exppow_Q diff --git a/src/_20_8_The_Cauchy_Distribution.jl b/src/_20_8_The_Cauchy_Distribution.jl index ae086cc..9d283a0 100644 --- a/src/_20_8_The_Cauchy_Distribution.jl +++ b/src/_20_8_The_Cauchy_Distribution.jl @@ -31,7 +31,7 @@ function ran_cauchy_pdf(x::Real, a::Real) ccall( (:gsl_ran_cauchy_pdf, libgsl), Cdouble, (Cdouble, Cdouble), x, a ) end -@vectorize_2arg Number ran_cauchy_pdf +Compat.@dep_vectorize_2arg Number ran_cauchy_pdf # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -42,7 +42,7 @@ function cdf_cauchy_P(x::Real, a::Real) ccall( (:gsl_cdf_cauchy_P, libgsl), Cdouble, (Cdouble, Cdouble), x, a ) end -@vectorize_2arg Number cdf_cauchy_P +Compat.@dep_vectorize_2arg Number cdf_cauchy_P # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -53,7 +53,7 @@ function cdf_cauchy_Q(x::Real, a::Real) ccall( (:gsl_cdf_cauchy_Q, libgsl), Cdouble, (Cdouble, Cdouble), x, a ) end -@vectorize_2arg Number cdf_cauchy_Q +Compat.@dep_vectorize_2arg Number cdf_cauchy_Q # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -64,7 +64,7 @@ function cdf_cauchy_Pinv(P::Real, a::Real) ccall( (:gsl_cdf_cauchy_Pinv, libgsl), Cdouble, (Cdouble, Cdouble), P, a ) end -@vectorize_2arg Number cdf_cauchy_Pinv +Compat.@dep_vectorize_2arg Number cdf_cauchy_Pinv # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -75,4 +75,4 @@ function cdf_cauchy_Qinv(Q::Real, a::Real) ccall( (:gsl_cdf_cauchy_Qinv, libgsl), Cdouble, (Cdouble, Cdouble), Q, a ) end -@vectorize_2arg Number cdf_cauchy_Qinv +Compat.@dep_vectorize_2arg Number cdf_cauchy_Qinv diff --git a/src/_20_9_The_Rayleigh_Distribution.jl b/src/_20_9_The_Rayleigh_Distribution.jl index a68da1f..3b79b96 100644 --- a/src/_20_9_The_Rayleigh_Distribution.jl +++ b/src/_20_9_The_Rayleigh_Distribution.jl @@ -29,7 +29,7 @@ function ran_rayleigh_pdf(x::Real, sigma::Real) ccall( (:gsl_ran_rayleigh_pdf, libgsl), Cdouble, (Cdouble, Cdouble), x, sigma ) end -@vectorize_2arg Number ran_rayleigh_pdf +Compat.@dep_vectorize_2arg Number ran_rayleigh_pdf # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -40,7 +40,7 @@ function cdf_rayleigh_P(x::Real, sigma::Real) ccall( (:gsl_cdf_rayleigh_P, libgsl), Cdouble, (Cdouble, Cdouble), x, sigma ) end -@vectorize_2arg Number cdf_rayleigh_P +Compat.@dep_vectorize_2arg Number cdf_rayleigh_P # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -51,7 +51,7 @@ function cdf_rayleigh_Q(x::Real, sigma::Real) ccall( (:gsl_cdf_rayleigh_Q, libgsl), Cdouble, (Cdouble, Cdouble), x, sigma ) end -@vectorize_2arg Number cdf_rayleigh_Q +Compat.@dep_vectorize_2arg Number cdf_rayleigh_Q # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -62,7 +62,7 @@ function cdf_rayleigh_Pinv(P::Real, sigma::Real) ccall( (:gsl_cdf_rayleigh_Pinv, libgsl), Cdouble, (Cdouble, Cdouble), P, sigma ) end -@vectorize_2arg Number cdf_rayleigh_Pinv +Compat.@dep_vectorize_2arg Number cdf_rayleigh_Pinv # These functions compute the cumulative distribution functions P(x), Q(x) and @@ -73,4 +73,4 @@ function cdf_rayleigh_Qinv(Q::Real, sigma::Real) ccall( (:gsl_cdf_rayleigh_Qinv, libgsl), Cdouble, (Cdouble, Cdouble), Q, sigma ) end -@vectorize_2arg Number cdf_rayleigh_Qinv +Compat.@dep_vectorize_2arg Number cdf_rayleigh_Qinv diff --git a/src/_21_1_Mean,_Standard_Deviation_and_Variance.jl b/src/_21_1_Mean,_Standard_Deviation_and_Variance.jl index 7c702ef..ab14cd1 100644 --- a/src/_21_1_Mean,_Standard_Deviation_and_Variance.jl +++ b/src/_21_1_Mean,_Standard_Deviation_and_Variance.jl @@ -29,7 +29,7 @@ export stats_mean, stats_variance, stats_variance_m, stats_sd, stats_sd_m, function stats_mean(data::Real) ccall( (:gsl_stats_mean, libgsl), Cdouble, (Cdouble, ), data ) end -@vectorize_1arg Number stats_mean +Compat.@dep_vectorize_1arg Number stats_mean # This function returns the estimated, or sample, variance of data, a dataset @@ -47,7 +47,7 @@ end function stats_variance(data::Real) ccall( (:gsl_stats_variance, libgsl), Cdouble, (Cdouble, ), data ) end -@vectorize_1arg Number stats_variance +Compat.@dep_vectorize_1arg Number stats_variance # This function returns the sample variance of data relative to the given value @@ -58,7 +58,7 @@ end function stats_variance_m(data::Real) ccall( (:gsl_stats_variance_m, libgsl), Cdouble, (Cdouble, ), data ) end -@vectorize_1arg Number stats_variance_m +Compat.@dep_vectorize_1arg Number stats_variance_m # The standard deviation is defined as the square root of the variance. These @@ -69,7 +69,7 @@ end function stats_sd(data::Real) ccall( (:gsl_stats_sd, libgsl), Cdouble, (Cdouble, ), data ) end -@vectorize_1arg Number stats_sd +Compat.@dep_vectorize_1arg Number stats_sd # The standard deviation is defined as the square root of the variance. These @@ -80,7 +80,7 @@ end function stats_sd_m(data::Real) ccall( (:gsl_stats_sd_m, libgsl), Cdouble, (Cdouble, ), data ) end -@vectorize_1arg Number stats_sd_m +Compat.@dep_vectorize_1arg Number stats_sd_m # These functions return the total sum of squares (TSS) of data about the mean. @@ -92,7 +92,7 @@ end function stats_tss(data::Real) ccall( (:gsl_stats_tss, libgsl), Cdouble, (Cdouble, ), data ) end -@vectorize_1arg Number stats_tss +Compat.@dep_vectorize_1arg Number stats_tss # These functions return the total sum of squares (TSS) of data about the mean. @@ -104,7 +104,7 @@ end function stats_tss_m(data::Real) ccall( (:gsl_stats_tss_m, libgsl), Cdouble, (Cdouble, ), data ) end -@vectorize_1arg Number stats_tss_m +Compat.@dep_vectorize_1arg Number stats_tss_m # This function computes an unbiased estimate of the variance of data when the @@ -118,7 +118,7 @@ function stats_variance_with_fixed_mean(data::Real) ccall( (:gsl_stats_variance_with_fixed_mean, libgsl), Cdouble, (Cdouble, ), data ) end -@vectorize_1arg Number stats_variance_with_fixed_mean +Compat.@dep_vectorize_1arg Number stats_variance_with_fixed_mean # This function calculates the standard deviation of data for a fixed @@ -130,4 +130,4 @@ function stats_sd_with_fixed_mean(data::Real) ccall( (:gsl_stats_sd_with_fixed_mean, libgsl), Cdouble, (Cdouble, ), data ) end -@vectorize_1arg Number stats_sd_with_fixed_mean +Compat.@dep_vectorize_1arg Number stats_sd_with_fixed_mean diff --git a/src/_21_2_Absolute_deviation.jl b/src/_21_2_Absolute_deviation.jl index f64e422..e831674 100644 --- a/src/_21_2_Absolute_deviation.jl +++ b/src/_21_2_Absolute_deviation.jl @@ -23,7 +23,7 @@ export stats_absdev, stats_absdev_m function stats_absdev(data::Real) ccall( (:gsl_stats_absdev, libgsl), Cdouble, (Cdouble, ), data ) end -@vectorize_1arg Number stats_absdev +Compat.@dep_vectorize_1arg Number stats_absdev # This function computes the absolute deviation of the dataset data relative to @@ -36,4 +36,4 @@ end function stats_absdev_m(data::Real) ccall( (:gsl_stats_absdev_m, libgsl), Cdouble, (Cdouble, ), data ) end -@vectorize_1arg Number stats_absdev_m +Compat.@dep_vectorize_1arg Number stats_absdev_m diff --git a/src/_21_3_Higher_moments_(skewness_and_kurtosis).jl b/src/_21_3_Higher_moments_(skewness_and_kurtosis).jl index d7392ed..6152dc0 100644 --- a/src/_21_3_Higher_moments_(skewness_and_kurtosis).jl +++ b/src/_21_3_Higher_moments_(skewness_and_kurtosis).jl @@ -26,7 +26,7 @@ export stats_skew, stats_skew_m_sd, stats_kurtosis, stats_kurtosis_m_sd function stats_skew(data::Real) ccall( (:gsl_stats_skew, libgsl), Cdouble, (Cdouble, ), data ) end -@vectorize_1arg Number stats_skew +Compat.@dep_vectorize_1arg Number stats_skew # This function computes the skewness of the dataset data using the given @@ -39,7 +39,7 @@ end function stats_skew_m_sd(data::Real) ccall( (:gsl_stats_skew_m_sd, libgsl), Cdouble, (Cdouble, ), data ) end -@vectorize_1arg Number stats_skew_m_sd +Compat.@dep_vectorize_1arg Number stats_skew_m_sd # This function computes the kurtosis of data, a dataset of length n with @@ -52,7 +52,7 @@ end function stats_kurtosis(data::Real) ccall( (:gsl_stats_kurtosis, libgsl), Cdouble, (Cdouble, ), data ) end -@vectorize_1arg Number stats_kurtosis +Compat.@dep_vectorize_1arg Number stats_kurtosis # This function computes the kurtosis of the dataset data using the given @@ -66,4 +66,4 @@ function stats_kurtosis_m_sd(data::Real) ccall( (:gsl_stats_kurtosis_m_sd, libgsl), Cdouble, (Cdouble, ), data ) end -@vectorize_1arg Number stats_kurtosis_m_sd +Compat.@dep_vectorize_1arg Number stats_kurtosis_m_sd diff --git a/src/_21_4_Autocorrelation.jl b/src/_21_4_Autocorrelation.jl index 3e98d96..4f1d500 100644 --- a/src/_21_4_Autocorrelation.jl +++ b/src/_21_4_Autocorrelation.jl @@ -18,7 +18,7 @@ function stats_lag1_autocorrelation(data::Real) ccall( (:gsl_stats_lag1_autocorrelation, libgsl), Cdouble, (Cdouble, ), data ) end -@vectorize_1arg Number stats_lag1_autocorrelation +Compat.@dep_vectorize_1arg Number stats_lag1_autocorrelation # This function computes the lag-1 autocorrelation of the dataset data using @@ -29,4 +29,4 @@ function stats_lag1_autocorrelation_m(data::Real) ccall( (:gsl_stats_lag1_autocorrelation_m, libgsl), Cdouble, (Cdouble, ), data ) end -@vectorize_1arg Number stats_lag1_autocorrelation_m +Compat.@dep_vectorize_1arg Number stats_lag1_autocorrelation_m diff --git a/src/_21_5_Covariance.jl b/src/_21_5_Covariance.jl index fba0f08..0ccebd3 100644 --- a/src/_21_5_Covariance.jl +++ b/src/_21_5_Covariance.jl @@ -17,7 +17,7 @@ export stats_covariance, stats_covariance_m function stats_covariance(data1::Real) ccall( (:gsl_stats_covariance, libgsl), Cdouble, (Cdouble, ), data1 ) end -@vectorize_1arg Number stats_covariance +Compat.@dep_vectorize_1arg Number stats_covariance # This function computes the covariance of the datasets data1 and data2 using @@ -30,4 +30,4 @@ function stats_covariance_m(data1::Real) ccall( (:gsl_stats_covariance_m, libgsl), Cdouble, (Cdouble, ), data1 ) end -@vectorize_1arg Number stats_covariance_m +Compat.@dep_vectorize_1arg Number stats_covariance_m diff --git a/src/_21_6_Correlation.jl b/src/_21_6_Correlation.jl index f675fd1..01cd412 100644 --- a/src/_21_6_Correlation.jl +++ b/src/_21_6_Correlation.jl @@ -19,4 +19,4 @@ export stats_correlation function stats_correlation(data1::Real) ccall( (:gsl_stats_correlation, libgsl), Cdouble, (Cdouble, ), data1 ) end -@vectorize_1arg Number stats_correlation +Compat.@dep_vectorize_1arg Number stats_correlation diff --git a/src/_21_7_Weighted_Samples.jl b/src/_21_7_Weighted_Samples.jl index 519d815..686df6b 100644 --- a/src/_21_7_Weighted_Samples.jl +++ b/src/_21_7_Weighted_Samples.jl @@ -33,7 +33,7 @@ export stats_wmean, stats_wvariance, stats_wvariance_m, stats_wsd, stats_wsd_m, function stats_wmean(w::Real) ccall( (:gsl_stats_wmean, libgsl), Cdouble, (Cdouble, ), w ) end -@vectorize_1arg Number stats_wmean +Compat.@dep_vectorize_1arg Number stats_wmean # This function returns the estimated variance of the dataset data with stride @@ -48,7 +48,7 @@ end function stats_wvariance(w::Real) ccall( (:gsl_stats_wvariance, libgsl), Cdouble, (Cdouble, ), w ) end -@vectorize_1arg Number stats_wvariance +Compat.@dep_vectorize_1arg Number stats_wvariance # This function returns the estimated variance of the weighted dataset data @@ -58,7 +58,7 @@ end function stats_wvariance_m(w::Real) ccall( (:gsl_stats_wvariance_m, libgsl), Cdouble, (Cdouble, ), w ) end -@vectorize_1arg Number stats_wvariance_m +Compat.@dep_vectorize_1arg Number stats_wvariance_m # The standard deviation is defined as the square root of the variance. This @@ -69,7 +69,7 @@ end function stats_wsd(w::Real) ccall( (:gsl_stats_wsd, libgsl), Cdouble, (Cdouble, ), w ) end -@vectorize_1arg Number stats_wsd +Compat.@dep_vectorize_1arg Number stats_wsd # This function returns the square root of the corresponding variance function @@ -79,7 +79,7 @@ end function stats_wsd_m(w::Real) ccall( (:gsl_stats_wsd_m, libgsl), Cdouble, (Cdouble, ), w ) end -@vectorize_1arg Number stats_wsd_m +Compat.@dep_vectorize_1arg Number stats_wsd_m # This function computes an unbiased estimate of the variance of the weighted @@ -93,7 +93,7 @@ function stats_wvariance_with_fixed_mean(w::Real) ccall( (:gsl_stats_wvariance_with_fixed_mean, libgsl), Cdouble, (Cdouble, ), w ) end -@vectorize_1arg Number stats_wvariance_with_fixed_mean +Compat.@dep_vectorize_1arg Number stats_wvariance_with_fixed_mean # The standard deviation is defined as the square root of the variance. This @@ -105,7 +105,7 @@ function stats_wsd_with_fixed_mean(w::Real) ccall( (:gsl_stats_wsd_with_fixed_mean, libgsl), Cdouble, (Cdouble, ), w ) end -@vectorize_1arg Number stats_wsd_with_fixed_mean +Compat.@dep_vectorize_1arg Number stats_wsd_with_fixed_mean # These functions return the weighted total sum of squares (TSS) of data about @@ -117,7 +117,7 @@ end function stats_wtss(w::Real) ccall( (:gsl_stats_wtss, libgsl), Cdouble, (Cdouble, ), w ) end -@vectorize_1arg Number stats_wtss +Compat.@dep_vectorize_1arg Number stats_wtss # These functions return the weighted total sum of squares (TSS) of data about @@ -129,7 +129,7 @@ end function stats_wtss_m(w::Real) ccall( (:gsl_stats_wtss_m, libgsl), Cdouble, (Cdouble, ), w ) end -@vectorize_1arg Number stats_wtss_m +Compat.@dep_vectorize_1arg Number stats_wtss_m # This function computes the weighted absolute deviation from the weighted mean @@ -140,7 +140,7 @@ end function stats_wabsdev(w::Real) ccall( (:gsl_stats_wabsdev, libgsl), Cdouble, (Cdouble, ), w ) end -@vectorize_1arg Number stats_wabsdev +Compat.@dep_vectorize_1arg Number stats_wabsdev # This function computes the absolute deviation of the weighted dataset data @@ -150,7 +150,7 @@ end function stats_wabsdev_m(w::Real) ccall( (:gsl_stats_wabsdev_m, libgsl), Cdouble, (Cdouble, ), w ) end -@vectorize_1arg Number stats_wabsdev_m +Compat.@dep_vectorize_1arg Number stats_wabsdev_m # This function computes the weighted skewness of the dataset data. @@ -160,7 +160,7 @@ end function stats_wskew(w::Real) ccall( (:gsl_stats_wskew, libgsl), Cdouble, (Cdouble, ), w ) end -@vectorize_1arg Number stats_wskew +Compat.@dep_vectorize_1arg Number stats_wskew # This function computes the weighted skewness of the dataset data using the @@ -171,7 +171,7 @@ end function stats_wskew_m_sd(w::Real) ccall( (:gsl_stats_wskew_m_sd, libgsl), Cdouble, (Cdouble, ), w ) end -@vectorize_1arg Number stats_wskew_m_sd +Compat.@dep_vectorize_1arg Number stats_wskew_m_sd # This function computes the weighted kurtosis of the dataset data. @@ -181,7 +181,7 @@ end function stats_wkurtosis(w::Real) ccall( (:gsl_stats_wkurtosis, libgsl), Cdouble, (Cdouble, ), w ) end -@vectorize_1arg Number stats_wkurtosis +Compat.@dep_vectorize_1arg Number stats_wkurtosis # This function computes the weighted kurtosis of the dataset data using the @@ -192,4 +192,4 @@ end function stats_wkurtosis_m_sd(w::Real) ccall( (:gsl_stats_wkurtosis_m_sd, libgsl), Cdouble, (Cdouble, ), w ) end -@vectorize_1arg Number stats_wkurtosis_m_sd +Compat.@dep_vectorize_1arg Number stats_wkurtosis_m_sd diff --git a/src/_21_8_Maximum_and_Minimum_values.jl b/src/_21_8_Maximum_and_Minimum_values.jl index 77f678e..a12861e 100644 --- a/src/_21_8_Maximum_and_Minimum_values.jl +++ b/src/_21_8_Maximum_and_Minimum_values.jl @@ -18,7 +18,7 @@ export stats_max, stats_min, stats_minmax, stats_max_index, stats_min_index, function stats_max(data::Real) ccall( (:gsl_stats_max, libgsl), Cdouble, (Cdouble, ), data ) end -@vectorize_1arg Number stats_max +Compat.@dep_vectorize_1arg Number stats_max # This function returns the minimum value in data, a dataset of length n with @@ -31,7 +31,7 @@ end function stats_min(data::Real) ccall( (:gsl_stats_min, libgsl), Cdouble, (Cdouble, ), data ) end -@vectorize_1arg Number stats_min +Compat.@dep_vectorize_1arg Number stats_min # This function finds both the minimum and maximum values min, max in data in a @@ -45,7 +45,7 @@ function stats_minmax(data::Real) Cdouble), min, max, data ) return min[], max[] end -@vectorize_1arg Number stats_minmax +Compat.@dep_vectorize_1arg Number stats_minmax # This function returns the index of the maximum value in data, a dataset of @@ -57,7 +57,7 @@ end function stats_max_index(data::Real) ccall( (:gsl_stats_max_index, libgsl), Csize_t, (Cdouble, ), data ) end -@vectorize_1arg Number stats_max_index +Compat.@dep_vectorize_1arg Number stats_max_index # This function returns the index of the minimum value in data, a dataset of @@ -69,7 +69,7 @@ end function stats_min_index(data::Real) ccall( (:gsl_stats_min_index, libgsl), Csize_t, (Cdouble, ), data ) end -@vectorize_1arg Number stats_min_index +Compat.@dep_vectorize_1arg Number stats_min_index # This function returns the indexes min_index, max_index of the minimum and @@ -83,4 +83,4 @@ function stats_minmax_index(data::Real) Ref{Csize_t}, Cdouble), min_index, max_index, data ) return min_index[], max_index[] end -@vectorize_1arg Number stats_minmax_index +Compat.@dep_vectorize_1arg Number stats_minmax_index diff --git a/src/_21_9_Median_and_Percentiles.jl b/src/_21_9_Median_and_Percentiles.jl index cd51918..f4a33d1 100644 --- a/src/_21_9_Median_and_Percentiles.jl +++ b/src/_21_9_Median_and_Percentiles.jl @@ -24,7 +24,7 @@ function stats_median_from_sorted_data(sorted_data::Real) ccall( (:gsl_stats_median_from_sorted_data, libgsl), Cdouble, (Cdouble, ), sorted_data ) end -@vectorize_1arg Number stats_median_from_sorted_data +Compat.@dep_vectorize_1arg Number stats_median_from_sorted_data # This function returns a quantile value of sorted_data, a double-precision @@ -47,4 +47,4 @@ function stats_quantile_from_sorted_data(sorted_data::Real) ccall( (:gsl_stats_quantile_from_sorted_data, libgsl), Cdouble, (Cdouble, ), sorted_data ) end -@vectorize_1arg Number stats_quantile_from_sorted_data +Compat.@dep_vectorize_1arg Number stats_quantile_from_sorted_data diff --git a/src/_22_10_The_histogram_probability_distribution_struct.jl b/src/_22_10_The_histogram_probability_distribution_struct.jl index 03ab47b..4a454d8 100644 --- a/src/_22_10_The_histogram_probability_distribution_struct.jl +++ b/src/_22_10_The_histogram_probability_distribution_struct.jl @@ -28,7 +28,7 @@ function histogram_pdf_alloc(n::Integer) Ptr{gsl_histogram_pdf}, (Csize_t, ), n ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_1arg Number histogram_pdf_alloc +Compat.@dep_vectorize_1arg Number histogram_pdf_alloc # This function initializes the probability distribution p with the contents of diff --git a/src/_22_14_2D_Histogram_allocation.jl b/src/_22_14_2D_Histogram_allocation.jl index e789ef2..7018948 100644 --- a/src/_22_14_2D_Histogram_allocation.jl +++ b/src/_22_14_2D_Histogram_allocation.jl @@ -21,7 +21,7 @@ function histogram2d_alloc(nx::Integer, ny::Integer) Ptr{gsl_histogram2d}, (Csize_t, Csize_t), nx, ny ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_2arg Number histogram2d_alloc +Compat.@dep_vectorize_2arg Number histogram2d_alloc # This function sets the ranges of the existing histogram h using the arrays @@ -36,7 +36,7 @@ function histogram2d_set_ranges(xrange::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return h[] end -@vectorize_1arg Number histogram2d_set_ranges +Compat.@dep_vectorize_1arg Number histogram2d_set_ranges # This function sets the ranges of the existing histogram h to cover the ranges @@ -52,8 +52,6 @@ function histogram2d_set_ranges_uniform(xmin::Real, xmax::Real, ymin::Real, ymax if errno!= 0 throw(GSL_ERROR(errno)) end return h[] end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number histogram2d_set_ranges_uniform # This function frees the 2D histogram h and all of the memory associated with diff --git a/src/_22_16_Updating_and_accessing_2D_histogram_elements.jl b/src/_22_16_Updating_and_accessing_2D_histogram_elements.jl index a2db4ef..b4e847a 100644 --- a/src/_22_16_Updating_and_accessing_2D_histogram_elements.jl +++ b/src/_22_16_Updating_and_accessing_2D_histogram_elements.jl @@ -27,7 +27,7 @@ function histogram2d_increment(x::Real, y::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return h[] end -@vectorize_2arg Number histogram2d_increment +Compat.@dep_vectorize_2arg Number histogram2d_increment # This function is similar to gsl_histogram2d_increment but increases the value @@ -42,8 +42,6 @@ function histogram2d_accumulate(x::Real, y::Real, weight::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return h[] end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number histogram2d_accumulate # This function returns the contents of the (i,j)-th bin of the histogram h. diff --git a/src/_22_19_2D_Histogram_Operations.jl b/src/_22_19_2D_Histogram_Operations.jl index 18cdace..a00b710 100644 --- a/src/_22_19_2D_Histogram_Operations.jl +++ b/src/_22_19_2D_Histogram_Operations.jl @@ -86,7 +86,7 @@ function histogram2d_scale(scale::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return h[] end -@vectorize_1arg Number histogram2d_scale +Compat.@dep_vectorize_1arg Number histogram2d_scale # This function shifts the contents of the bins of histogram h by the constant @@ -100,4 +100,4 @@ function histogram2d_shift(offset::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return h[] end -@vectorize_1arg Number histogram2d_shift +Compat.@dep_vectorize_1arg Number histogram2d_shift diff --git a/src/_22_21_Resampling_from_2D_histograms.jl b/src/_22_21_Resampling_from_2D_histograms.jl index 1341e73..bd23b50 100644 --- a/src/_22_21_Resampling_from_2D_histograms.jl +++ b/src/_22_21_Resampling_from_2D_histograms.jl @@ -31,7 +31,7 @@ function histogram2d_pdf_alloc(nx::Integer, ny::Integer) Ptr{gsl_histogram2d_pdf}, (Csize_t, Csize_t), nx, ny ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_2arg Number histogram2d_pdf_alloc +Compat.@dep_vectorize_2arg Number histogram2d_pdf_alloc # This function initializes the two-dimensional probability distribution diff --git a/src/_22_2_Histogram_allocation.jl b/src/_22_2_Histogram_allocation.jl index 61e8cde..934062f 100644 --- a/src/_22_2_Histogram_allocation.jl +++ b/src/_22_2_Histogram_allocation.jl @@ -23,7 +23,7 @@ function histogram_alloc(n::Integer) Ptr{gsl_histogram}, (Csize_t, ), n ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_1arg Number histogram_alloc +Compat.@dep_vectorize_1arg Number histogram_alloc # This function sets the ranges of the existing histogram h using the array @@ -48,7 +48,7 @@ function histogram_set_ranges(range::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return h[] end -@vectorize_1arg Number histogram_set_ranges +Compat.@dep_vectorize_1arg Number histogram_set_ranges # This function sets the ranges of the existing histogram h to cover the range @@ -66,7 +66,7 @@ function histogram_set_ranges_uniform(xmin::Real, xmax::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return h[] end -@vectorize_2arg Number histogram_set_ranges_uniform +Compat.@dep_vectorize_2arg Number histogram_set_ranges_uniform # This function frees the histogram h and all of the memory associated with it. diff --git a/src/_22_4_Updating_and_accessing_histogram_elements.jl b/src/_22_4_Updating_and_accessing_histogram_elements.jl index e1c3c74..82790c7 100644 --- a/src/_22_4_Updating_and_accessing_histogram_elements.jl +++ b/src/_22_4_Updating_and_accessing_histogram_elements.jl @@ -27,7 +27,7 @@ function histogram_increment(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return h[] end -@vectorize_1arg Number histogram_increment +Compat.@dep_vectorize_1arg Number histogram_increment # This function is similar to gsl_histogram_increment but increases the value @@ -42,7 +42,7 @@ function histogram_accumulate(x::Real, weight::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return h[] end -@vectorize_2arg Number histogram_accumulate +Compat.@dep_vectorize_2arg Number histogram_accumulate # This function returns the contents of the i-th bin of the histogram h. If i diff --git a/src/_22_7_Histogram_Operations.jl b/src/_22_7_Histogram_Operations.jl index 8840e26..64e4c48 100644 --- a/src/_22_7_Histogram_Operations.jl +++ b/src/_22_7_Histogram_Operations.jl @@ -86,7 +86,7 @@ function histogram_scale(scale::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return h[] end -@vectorize_1arg Number histogram_scale +Compat.@dep_vectorize_1arg Number histogram_scale # This function shifts the contents of the bins of histogram h by the constant @@ -100,4 +100,4 @@ function histogram_shift(offset::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return h[] end -@vectorize_1arg Number histogram_shift +Compat.@dep_vectorize_1arg Number histogram_shift diff --git a/src/_24_2_PLAIN_Monte_Carlo.jl b/src/_24_2_PLAIN_Monte_Carlo.jl index 01a38f5..244a21c 100644 --- a/src/_24_2_PLAIN_Monte_Carlo.jl +++ b/src/_24_2_PLAIN_Monte_Carlo.jl @@ -21,7 +21,7 @@ function monte_plain_alloc(dim::Integer) Ptr{gsl_monte_plain_state}, (Csize_t, ), dim ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_1arg Number monte_plain_alloc +Compat.@dep_vectorize_1arg Number monte_plain_alloc # This function initializes a previously allocated integration state. This @@ -51,7 +51,7 @@ function monte_plain_integrate(xl::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return f[] end -@vectorize_1arg Number monte_plain_integrate +Compat.@dep_vectorize_1arg Number monte_plain_integrate # This function frees the memory associated with the integrator state s. diff --git a/src/_24_3_MISER.jl b/src/_24_3_MISER.jl index c262669..027806b 100644 --- a/src/_24_3_MISER.jl +++ b/src/_24_3_MISER.jl @@ -27,7 +27,7 @@ function monte_miser_alloc(dim::Integer) Ptr{gsl_monte_miser_state}, (Csize_t, ), dim ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_1arg Number monte_miser_alloc +Compat.@dep_vectorize_1arg Number monte_miser_alloc # This function initializes a previously allocated integration state. This @@ -57,7 +57,7 @@ function monte_miser_integrate(xl::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return f[] end -@vectorize_1arg Number monte_miser_integrate +Compat.@dep_vectorize_1arg Number monte_miser_integrate # This function frees the memory associated with the integrator state s. diff --git a/src/_24_4_VEGAS.jl b/src/_24_4_VEGAS.jl index b82b2ff..c71df34 100644 --- a/src/_24_4_VEGAS.jl +++ b/src/_24_4_VEGAS.jl @@ -23,7 +23,7 @@ function monte_vegas_alloc(dim::Integer) Ptr{gsl_monte_vegas_state}, (Csize_t, ), dim ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_1arg Number monte_vegas_alloc +Compat.@dep_vectorize_1arg Number monte_vegas_alloc # This function initializes a previously allocated integration state. This @@ -57,7 +57,7 @@ function monte_vegas_integrate(xl::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return f[] end -@vectorize_1arg Number monte_vegas_integrate +Compat.@dep_vectorize_1arg Number monte_vegas_integrate # This function frees the memory associated with the integrator state s. diff --git a/src/_26_2_Stepping_Functions.jl b/src/_26_2_Stepping_Functions.jl index dc5155d..45a552d 100644 --- a/src/_26_2_Stepping_Functions.jl +++ b/src/_26_2_Stepping_Functions.jl @@ -117,5 +117,3 @@ function odeiv2_step_apply(t::Real, h::Real, y::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return s[] end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number odeiv2_step_apply diff --git a/src/_26_3_Adaptive_Step-size_Control.jl b/src/_26_3_Adaptive_Step-size_Control.jl index 20d86bf..2770855 100644 --- a/src/_26_3_Adaptive_Step-size_Control.jl +++ b/src/_26_3_Adaptive_Step-size_Control.jl @@ -35,8 +35,6 @@ function odeiv2_control_standard_new(eps_abs::Real, eps_rel::Real, a_y::Real, a_ eps_rel, a_y, a_dydt ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number odeiv2_control_standard_new # This function creates a new control object which will keep the local error on @@ -50,7 +48,7 @@ function odeiv2_control_y_new(eps_abs::Real, eps_rel::Real) Ptr{gsl_odeiv2_control}, (Cdouble, Cdouble), eps_abs, eps_rel ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_2arg Number odeiv2_control_y_new +Compat.@dep_vectorize_2arg Number odeiv2_control_y_new # This function creates a new control object which will keep the local error on @@ -64,7 +62,7 @@ function odeiv2_control_yp_new(eps_abs::Real, eps_rel::Real) Ptr{gsl_odeiv2_control}, (Cdouble, Cdouble), eps_abs, eps_rel ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_2arg Number odeiv2_control_yp_new +Compat.@dep_vectorize_2arg Number odeiv2_control_yp_new # This function creates a new control object which uses the same algorithm as @@ -81,8 +79,6 @@ function odeiv2_control_scaled_new(eps_abs::Real, eps_rel::Real, a_y::Real, a_dy eps_abs, eps_rel, a_y, a_dydt, scale_abs ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -#TODO This vectorization macro is not implemented -#@vectorize_5arg Number odeiv2_control_scaled_new # This function returns a pointer to a newly allocated instance of a control @@ -139,7 +135,7 @@ function odeiv2_control_hadjust(y::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return c[], s[] end -@vectorize_1arg Number odeiv2_control_hadjust +Compat.@dep_vectorize_1arg Number odeiv2_control_hadjust # This function returns a pointer to the name of the control function. For @@ -170,8 +166,6 @@ function odeiv2_control_errlevel(y::Real, dydt::Real, h::Real, ind::Integer) if errno!= 0 throw(GSL_ERROR(errno)) end return c[], errlev[] end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number odeiv2_control_errlevel # This function sets a pointer of the driver object d for control object c. diff --git a/src/_26_4_Evolution.jl b/src/_26_4_Evolution.jl index 7a0ea19..46edf3c 100644 --- a/src/_26_4_Evolution.jl +++ b/src/_26_4_Evolution.jl @@ -18,7 +18,7 @@ function odeiv2_evolve_alloc(dim::Integer) Ptr{gsl_odeiv2_evolve}, (Csize_t, ), dim ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_1arg Number odeiv2_evolve_alloc +Compat.@dep_vectorize_1arg Number odeiv2_evolve_alloc # This function advances the system (e, sys) from time t and position y using diff --git a/src/_26_5_Driver.jl b/src/_26_5_Driver.jl index ef420b9..b1592f8 100644 --- a/src/_26_5_Driver.jl +++ b/src/_26_5_Driver.jl @@ -90,7 +90,7 @@ function odeiv2_driver_set_hmin(hmin::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return d[] end -@vectorize_1arg Number odeiv2_driver_set_hmin +Compat.@dep_vectorize_1arg Number odeiv2_driver_set_hmin # The function sets a maximum for allowed step size hmax for driver d. Default @@ -104,7 +104,7 @@ function odeiv2_driver_set_hmax(hmax::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return d[] end -@vectorize_1arg Number odeiv2_driver_set_hmax +Compat.@dep_vectorize_1arg Number odeiv2_driver_set_hmax # The function sets a maximum for allowed number of steps nmax for driver d. @@ -118,7 +118,7 @@ function odeiv2_driver_set_nmax(nmax::Integer) if errno!= 0 throw(GSL_ERROR(errno)) end return d[] end -@vectorize_1arg Number odeiv2_driver_set_nmax +Compat.@dep_vectorize_1arg Number odeiv2_driver_set_nmax # This function evolves the driver system d from t to t1. Initially vector y @@ -141,7 +141,7 @@ function odeiv2_driver_apply(t1::Real, y::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return d[], t[] end -@vectorize_2arg Number odeiv2_driver_apply +Compat.@dep_vectorize_2arg Number odeiv2_driver_apply # This function evolves the driver system d from t with n steps of size h. If @@ -159,8 +159,6 @@ function odeiv2_driver_apply_fixed_step(h::Real, n::Integer, y::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return d[], t[] end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number odeiv2_driver_apply_fixed_step # This function resets the evolution and stepper objects. diff --git a/src/_27_4_Index_Look-up_and_Acceleration.jl b/src/_27_4_Index_Look-up_and_Acceleration.jl index 11227d6..88a247e 100644 --- a/src/_27_4_Index_Look-up_and_Acceleration.jl +++ b/src/_27_4_Index_Look-up_and_Acceleration.jl @@ -17,7 +17,7 @@ export interp_bsearch, interp_accel_alloc, interp_accel_find, function interp_bsearch(x_array::Real) ccall( (:gsl_interp_bsearch, libgsl), Csize_t, (Cdouble, ), x_array ) end -@vectorize_1arg Number interp_bsearch +Compat.@dep_vectorize_1arg Number interp_bsearch # This function returns a pointer to an accelerator object, which is a kind of diff --git a/src/_29_2_Creation_and_Calculation_of_Chebyshev_Series.jl b/src/_29_2_Creation_and_Calculation_of_Chebyshev_Series.jl index 58136f2..8e05880 100644 --- a/src/_29_2_Creation_and_Calculation_of_Chebyshev_Series.jl +++ b/src/_29_2_Creation_and_Calculation_of_Chebyshev_Series.jl @@ -16,7 +16,7 @@ function cheb_alloc(n::Integer) (Csize_t, ), n ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_1arg Number cheb_alloc +Compat.@dep_vectorize_1arg Number cheb_alloc # This function frees a previously allocated Chebyshev series cs. diff --git a/src/_30_1_Acceleration_functions.jl b/src/_30_1_Acceleration_functions.jl index 50413b2..183457b 100644 --- a/src/_30_1_Acceleration_functions.jl +++ b/src/_30_1_Acceleration_functions.jl @@ -16,7 +16,7 @@ function sum_levin_u_alloc(n::Integer) Ptr{gsl_sum_levin_u_workspace}, (Csize_t, ), n ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_1arg Number sum_levin_u_alloc +Compat.@dep_vectorize_1arg Number sum_levin_u_alloc # This function frees the memory associated with the workspace w. diff --git a/src/_30_2_Acceleration_functions_without_error_estimation.jl b/src/_30_2_Acceleration_functions_without_error_estimation.jl index c1ee442..d01ed6f 100644 --- a/src/_30_2_Acceleration_functions_without_error_estimation.jl +++ b/src/_30_2_Acceleration_functions_without_error_estimation.jl @@ -16,7 +16,7 @@ function sum_levin_utrunc_alloc(n::Integer) Ptr{gsl_sum_levin_utrunc_workspace}, (Csize_t, ), n ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_1arg Number sum_levin_utrunc_alloc +Compat.@dep_vectorize_1arg Number sum_levin_utrunc_alloc # This function frees the memory associated with the workspace w. diff --git a/src/_31_2_Initialization.jl b/src/_31_2_Initialization.jl index 43f7fd6..a9353b0 100644 --- a/src/_31_2_Initialization.jl +++ b/src/_31_2_Initialization.jl @@ -53,7 +53,7 @@ function wavelet_workspace_alloc(n::Integer) Ptr{gsl_wavelet_workspace}, (Csize_t, ), n ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_1arg Number wavelet_workspace_alloc +Compat.@dep_vectorize_1arg Number wavelet_workspace_alloc # This function frees the allocated workspace work. diff --git a/src/_32_2_Functions.jl b/src/_32_2_Functions.jl index ba03982..5400f52 100644 --- a/src/_32_2_Functions.jl +++ b/src/_32_2_Functions.jl @@ -16,7 +16,7 @@ function dht_alloc(size::Integer) ), size ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_1arg Number dht_alloc +Compat.@dep_vectorize_1arg Number dht_alloc # This function initializes the transform t for the given values of nu and @@ -39,8 +39,6 @@ function dht_new(size::Integer, nu::Real, xmax::Real) Cdouble, Cdouble), size, nu, xmax ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number dht_new # This function frees the transform t. diff --git a/src/_33_7_Search_Stopping_Parameters.jl b/src/_33_7_Search_Stopping_Parameters.jl index 690ef71..6fc8fe4 100644 --- a/src/_33_7_Search_Stopping_Parameters.jl +++ b/src/_33_7_Search_Stopping_Parameters.jl @@ -36,8 +36,6 @@ function root_test_interval(x_lower::Real, x_upper::Real, epsabs::Real, epsrel:: end return errno end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number root_test_interval # This function tests for the convergence of the sequence ..., x0, x1 with @@ -54,8 +52,6 @@ function root_test_delta(x1::Real, x0::Real, epsabs::Real, epsrel::Real) end return errno end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number root_test_delta # This function tests the residual value f against the absolute error bound @@ -73,4 +69,4 @@ function root_test_residual(f::Real, epsabs::Real) end return errno end -@vectorize_2arg Number root_test_residual +Compat.@dep_vectorize_2arg Number root_test_residual diff --git a/src/_34_3_Initializing_the_Minimizer.jl b/src/_34_3_Initializing_the_Minimizer.jl index 183d9ee..1e073d7 100644 --- a/src/_34_3_Initializing_the_Minimizer.jl +++ b/src/_34_3_Initializing_the_Minimizer.jl @@ -52,8 +52,6 @@ function min_fminimizer_set_with_values(x_minimum::Real, f_minimum::Real, x_lowe if errno!= 0 throw(GSL_ERROR(errno)) end return s[], f[] end -#TODO This vectorization macro is not implemented -#@vectorize_6arg Number min_fminimizer_set_with_values # This function frees all the memory associated with the minimizer s. diff --git a/src/_34_6_Stopping_Parameters.jl b/src/_34_6_Stopping_Parameters.jl index 1fa54e2..4c5fefe 100644 --- a/src/_34_6_Stopping_Parameters.jl +++ b/src/_34_6_Stopping_Parameters.jl @@ -30,5 +30,3 @@ function min_test_interval(x_lower::Real, x_upper::Real, epsabs::Real, epsrel::R Cdouble, Cdouble, Cdouble), x_lower, x_upper, epsabs, epsrel ) if errno!= 0 throw(GSL_ERROR(errno)) end end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number min_test_interval diff --git a/src/_36_6_Stopping_Criteria.jl b/src/_36_6_Stopping_Criteria.jl index 3323172..da347ad 100644 --- a/src/_36_6_Stopping_Criteria.jl +++ b/src/_36_6_Stopping_Criteria.jl @@ -36,4 +36,4 @@ function multimin_test_size(size::Real, epsabs::Real) Cdouble), size, epsabs ) if errno!= 0 throw(GSL_ERROR(errno)) end end -@vectorize_2arg Number multimin_test_size +Compat.@dep_vectorize_2arg Number multimin_test_size diff --git a/src/_37_2_Linear_regression.jl b/src/_37_2_Linear_regression.jl index 70a431a..41ac532 100644 --- a/src/_37_2_Linear_regression.jl +++ b/src/_37_2_Linear_regression.jl @@ -82,5 +82,3 @@ function fit_linear_est(x::Real, c0::Real, c1::Real, cov00::Real, cov01::Real, c if errno!= 0 throw(GSL_ERROR(errno)) end return y[], y_err[] end -#TODO This vectorization macro is not implemented -#@vectorize_6arg Number fit_linear_est diff --git a/src/_37_3_Linear_fitting_without_a_constant_term.jl b/src/_37_3_Linear_fitting_without_a_constant_term.jl index ebfb862..85c298c 100644 --- a/src/_37_3_Linear_fitting_without_a_constant_term.jl +++ b/src/_37_3_Linear_fitting_without_a_constant_term.jl @@ -70,5 +70,3 @@ function fit_mul_est(x::Real, c1::Real, cov11::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return y[], y_err[] end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number fit_mul_est diff --git a/src/_37_4_Multi-parameter_fitting.jl b/src/_37_4_Multi-parameter_fitting.jl index 29f02be..b62e0ee 100644 --- a/src/_37_4_Multi-parameter_fitting.jl +++ b/src/_37_4_Multi-parameter_fitting.jl @@ -18,7 +18,7 @@ function multifit_linear_alloc(n::Integer, p::Integer) Ptr{gsl_multifit_linear_workspace}, (Csize_t, Csize_t), n, p ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_2arg Number multifit_linear_alloc +Compat.@dep_vectorize_2arg Number multifit_linear_alloc # This function frees the memory associated with the workspace w. diff --git a/src/_39_2_Initializing_the_B-splines_solver.jl b/src/_39_2_Initializing_the_B-splines_solver.jl index 4ccfabf..0442588 100644 --- a/src/_39_2_Initializing_the_B-splines_solver.jl +++ b/src/_39_2_Initializing_the_B-splines_solver.jl @@ -18,7 +18,7 @@ function bspline_alloc(k::Integer, nbreak::Integer) Ptr{gsl_bspline_workspace}, (Csize_t, Csize_t), k, nbreak ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_2arg Number bspline_alloc +Compat.@dep_vectorize_2arg Number bspline_alloc # This function frees the memory associated with the workspace w. @@ -39,7 +39,7 @@ function bspline_deriv_alloc(k::Integer) Ptr{gsl_bspline_deriv_workspace}, (Csize_t, ), k ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_1arg Number bspline_deriv_alloc +Compat.@dep_vectorize_1arg Number bspline_deriv_alloc # This function frees the memory associated with the derivative workspace w. diff --git a/src/_39_3_Constructing_the_knots_vector.jl b/src/_39_3_Constructing_the_knots_vector.jl index 71f7035..3d69b43 100644 --- a/src/_39_3_Constructing_the_knots_vector.jl +++ b/src/_39_3_Constructing_the_knots_vector.jl @@ -32,4 +32,4 @@ function bspline_knots_uniform(a::Real, b::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return w[] end -@vectorize_2arg Number bspline_knots_uniform +Compat.@dep_vectorize_2arg Number bspline_knots_uniform diff --git a/src/_39_4_Evaluation_of_B-splines.jl b/src/_39_4_Evaluation_of_B-splines.jl index 1854712..677de2c 100644 --- a/src/_39_4_Evaluation_of_B-splines.jl +++ b/src/_39_4_Evaluation_of_B-splines.jl @@ -23,7 +23,7 @@ function bspline_eval(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return B[], w[] end -@vectorize_1arg Number bspline_eval +Compat.@dep_vectorize_1arg Number bspline_eval # This function evaluates all potentially nonzero B-spline basis functions at @@ -46,7 +46,7 @@ function bspline_eval_nonzero(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return Bk[], istart[], iend[], w[] end -@vectorize_1arg Number bspline_eval_nonzero +Compat.@dep_vectorize_1arg Number bspline_eval_nonzero # This function returns the number of B-spline coefficients given by n = nbreak diff --git a/src/_39_5_Evaluation_of_B-spline_derivatives.jl b/src/_39_5_Evaluation_of_B-spline_derivatives.jl index 9d78017..aed8335 100644 --- a/src/_39_5_Evaluation_of_B-spline_derivatives.jl +++ b/src/_39_5_Evaluation_of_B-spline_derivatives.jl @@ -27,7 +27,7 @@ function bspline_deriv_eval(x::Real, nderiv::Integer) if errno!= 0 throw(GSL_ERROR(errno)) end return dB[], w[], dw[] end -@vectorize_2arg Number bspline_deriv_eval +Compat.@dep_vectorize_2arg Number bspline_deriv_eval # This function evaluates all potentially nonzero B-spline basis function @@ -54,4 +54,4 @@ function bspline_deriv_eval_nonzero(x::Real, nderiv::Integer) if errno!= 0 throw(GSL_ERROR(errno)) end return dB[], istart[], iend[], w[], dw[] end -@vectorize_2arg Number bspline_deriv_eval_nonzero +Compat.@dep_vectorize_2arg Number bspline_deriv_eval_nonzero diff --git a/src/_3_2_Error_Codes.jl b/src/_3_2_Error_Codes.jl index 088257a..30afd34 100644 --- a/src/_3_2_Error_Codes.jl +++ b/src/_3_2_Error_Codes.jl @@ -21,4 +21,4 @@ function strerror(gsl_errno::Integer) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr bytestring(output_string) end -@vectorize_1arg Number strerror +Compat.@dep_vectorize_1arg Number strerror diff --git a/src/_4_2_Infinities_and_Not-a-number.jl b/src/_4_2_Infinities_and_Not-a-number.jl index 3313645..3b86cb1 100644 --- a/src/_4_2_Infinities_and_Not-a-number.jl +++ b/src/_4_2_Infinities_and_Not-a-number.jl @@ -17,7 +17,7 @@ function isnan(x::Real) errno = ccall( (:gsl_isnan, libgsl), Cint, (Cdouble, ), x ) if errno!= 0 throw(GSL_ERROR(errno)) end end -@vectorize_1arg Number isnan +Compat.@dep_vectorize_1arg Number isnan # This function returns +1 if x is positive infinity, -1 if x is negative @@ -28,7 +28,7 @@ function isinf(x::Real) errno = ccall( (:gsl_isinf, libgsl), Cint, (Cdouble, ), x ) if errno!= 0 throw(GSL_ERROR(errno)) end end -@vectorize_1arg Number isinf +Compat.@dep_vectorize_1arg Number isinf # This function returns 1 if x is a real number, and 0 if it is infinite or @@ -39,4 +39,4 @@ function finite(x::Real) errno = ccall( (:gsl_finite, libgsl), Cint, (Cdouble, ), x ) if errno!= 0 throw(GSL_ERROR(errno)) end end -@vectorize_1arg Number finite +Compat.@dep_vectorize_1arg Number finite diff --git a/src/_4_3_Elementary_Functions.jl b/src/_4_3_Elementary_Functions.jl index 50359dd..b1ff761 100644 --- a/src/_4_3_Elementary_Functions.jl +++ b/src/_4_3_Elementary_Functions.jl @@ -14,7 +14,7 @@ export log1p, expm1, hypot, hypot3, acosh, asinh, atanh, ldexp, frexp function log1p(x::Real) ccall( (:gsl_log1p, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number log1p +Compat.@dep_vectorize_1arg Number log1p # This function computes the value of \exp(x)-1 in a way that is accurate for @@ -24,7 +24,7 @@ end function expm1(x::Real) ccall( (:gsl_expm1, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number expm1 +Compat.@dep_vectorize_1arg Number expm1 # This function computes the value of \sqrt{x^2 + y^2} in a way that avoids @@ -34,7 +34,7 @@ end function hypot(x::Real, y::Real) ccall( (:gsl_hypot, libgsl), Cdouble, (Cdouble, Cdouble), x, y ) end -@vectorize_2arg Number hypot +Compat.@dep_vectorize_2arg Number hypot # This function computes the value of \sqrt{x^2 + y^2 + z^2} in a way that @@ -45,8 +45,6 @@ function hypot3(x::Real, y::Real, z::Real) ccall( (:gsl_hypot3, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), x, y, z ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number hypot3 # This function computes the value of \arccosh(x). It provides an alternative @@ -56,7 +54,7 @@ end function acosh(x::Real) ccall( (:gsl_acosh, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number acosh +Compat.@dep_vectorize_1arg Number acosh # This function computes the value of \arcsinh(x). It provides an alternative @@ -66,7 +64,7 @@ end function asinh(x::Real) ccall( (:gsl_asinh, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number asinh +Compat.@dep_vectorize_1arg Number asinh # This function computes the value of \arctanh(x). It provides an alternative @@ -76,7 +74,7 @@ end function atanh(x::Real) ccall( (:gsl_atanh, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number atanh +Compat.@dep_vectorize_1arg Number atanh # This function computes the value of x * 2^e. It provides an alternative to @@ -86,7 +84,7 @@ end function ldexp(x::Real, e::Integer) ccall( (:gsl_ldexp, libgsl), Cdouble, (Cdouble, Cint), x, e ) end -@vectorize_2arg Number ldexp +Compat.@dep_vectorize_2arg Number ldexp # This function splits the number x into its normalized fraction f and exponent diff --git a/src/_4_4_Small_integer_powers.jl b/src/_4_4_Small_integer_powers.jl index 480c391..9b8cff8 100644 --- a/src/_4_4_Small_integer_powers.jl +++ b/src/_4_4_Small_integer_powers.jl @@ -19,7 +19,7 @@ export pow_int, pow_uint, pow_2, pow_3, pow_4, pow_5, pow_6, pow_7, pow_8, function pow_int(x::Real, n::Integer) ccall( (:gsl_pow_int, libgsl), Cdouble, (Cdouble, Cint), x, n ) end -@vectorize_2arg Number pow_int +Compat.@dep_vectorize_2arg Number pow_int # These routines computes the power x^n for integer n. The power is computed @@ -31,7 +31,7 @@ end function pow_uint(x::Real, n::Integer) ccall( (:gsl_pow_uint, libgsl), Cdouble, (Cdouble, Cuint), x, n ) end -@vectorize_2arg Number pow_uint +Compat.@dep_vectorize_2arg Number pow_uint # These functions can be used to compute small integer powers x^2, x^3, etc. @@ -43,7 +43,7 @@ end function pow_2(x::Real) ccall( (:gsl_pow_2, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number pow_2 +Compat.@dep_vectorize_1arg Number pow_2 # These functions can be used to compute small integer powers x^2, x^3, etc. @@ -55,7 +55,7 @@ end function pow_3(x::Real) ccall( (:gsl_pow_3, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number pow_3 +Compat.@dep_vectorize_1arg Number pow_3 # These functions can be used to compute small integer powers x^2, x^3, etc. @@ -67,7 +67,7 @@ end function pow_4(x::Real) ccall( (:gsl_pow_4, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number pow_4 +Compat.@dep_vectorize_1arg Number pow_4 # These functions can be used to compute small integer powers x^2, x^3, etc. @@ -79,7 +79,7 @@ end function pow_5(x::Real) ccall( (:gsl_pow_5, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number pow_5 +Compat.@dep_vectorize_1arg Number pow_5 # These functions can be used to compute small integer powers x^2, x^3, etc. @@ -91,7 +91,7 @@ end function pow_6(x::Real) ccall( (:gsl_pow_6, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number pow_6 +Compat.@dep_vectorize_1arg Number pow_6 # These functions can be used to compute small integer powers x^2, x^3, etc. @@ -103,7 +103,7 @@ end function pow_7(x::Real) ccall( (:gsl_pow_7, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number pow_7 +Compat.@dep_vectorize_1arg Number pow_7 # These functions can be used to compute small integer powers x^2, x^3, etc. @@ -115,7 +115,7 @@ end function pow_8(x::Real) ccall( (:gsl_pow_8, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number pow_8 +Compat.@dep_vectorize_1arg Number pow_8 # These functions can be used to compute small integer powers x^2, x^3, etc. @@ -127,4 +127,4 @@ end function pow_9(x::Real) ccall( (:gsl_pow_9, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number pow_9 +Compat.@dep_vectorize_1arg Number pow_9 diff --git a/src/_4_7_Maximum_and_Minimum_functions.jl b/src/_4_7_Maximum_and_Minimum_functions.jl index f08d567..4f19d63 100644 --- a/src/_4_7_Maximum_and_Minimum_functions.jl +++ b/src/_4_7_Maximum_and_Minimum_functions.jl @@ -17,7 +17,7 @@ export GSL_MAX_DBL, GSL_MIN_DBL, GSL_MAX_INT, GSL_MIN_INT, GSL_MAX_LDBL, function GSL_MAX_DBL(a::Real, b::Real) ccall( (:GSL_MAX_DBL, libgsl), Cdouble, (Cdouble, Cdouble), a, b ) end -@vectorize_2arg Number GSL_MAX_DBL +Compat.@dep_vectorize_2arg Number GSL_MAX_DBL # This function returns the minimum of the double precision numbers a and b @@ -29,7 +29,7 @@ end function GSL_MIN_DBL(a::Real, b::Real) ccall( (:GSL_MIN_DBL, libgsl), Cdouble, (Cdouble, Cdouble), a, b ) end -@vectorize_2arg Number GSL_MIN_DBL +Compat.@dep_vectorize_2arg Number GSL_MIN_DBL # These functions return the maximum or minimum of the integers a and b using @@ -41,7 +41,7 @@ function GSL_MAX_INT(a::Integer, b::Integer) errno = ccall( (:GSL_MAX_INT, libgsl), Cint, (Cint, Cint), a, b ) if errno!= 0 throw(GSL_ERROR(errno)) end end -@vectorize_2arg Number GSL_MAX_INT +Compat.@dep_vectorize_2arg Number GSL_MAX_INT # These functions return the maximum or minimum of the integers a and b using @@ -53,7 +53,7 @@ function GSL_MIN_INT(a::Integer, b::Integer) errno = ccall( (:GSL_MIN_INT, libgsl), Cint, (Cint, Cint), a, b ) if errno!= 0 throw(GSL_ERROR(errno)) end end -@vectorize_2arg Number GSL_MIN_INT +Compat.@dep_vectorize_2arg Number GSL_MIN_INT # These functions return the maximum or minimum of the long doubles a and b @@ -64,7 +64,7 @@ end function GSL_MAX_LDBL(a::Real, b::Real) ccall( (:GSL_MAX_LDBL, libgsl), Cdouble, (Cdouble, Cdouble), a, b ) end -@vectorize_2arg Number GSL_MAX_LDBL +Compat.@dep_vectorize_2arg Number GSL_MAX_LDBL # These functions return the maximum or minimum of the long doubles a and b @@ -75,4 +75,4 @@ end function GSL_MIN_LDBL(a::Real, b::Real) ccall( (:GSL_MIN_LDBL, libgsl), Cdouble, (Cdouble, Cdouble), a, b ) end -@vectorize_2arg Number GSL_MIN_LDBL +Compat.@dep_vectorize_2arg Number GSL_MIN_LDBL diff --git a/src/_4_8_Approximate_Comparison_of_Floating_Point_Numbers.jl b/src/_4_8_Approximate_Comparison_of_Floating_Point_Numbers.jl index 454c47d..15efd70 100644 --- a/src/_4_8_Approximate_Comparison_of_Floating_Point_Numbers.jl +++ b/src/_4_8_Approximate_Comparison_of_Floating_Point_Numbers.jl @@ -24,5 +24,3 @@ function fcmp(x::Real, y::Real, epsilon::Real) x, y, epsilon ) if errno!= 0 throw(GSL_ERROR(errno)) end end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number fcmp diff --git a/src/_6_1_Polynomial_Evaluation.jl b/src/_6_1_Polynomial_Evaluation.jl index 2c398a9..97489eb 100644 --- a/src/_6_1_Polynomial_Evaluation.jl +++ b/src/_6_1_Polynomial_Evaluation.jl @@ -14,7 +14,7 @@ export poly_eval, poly_complex_eval, poly_eval_derivs function poly_eval(c::Real) ccall( (:gsl_poly_eval, libgsl), Cdouble, (Cdouble, ), c ) end -@vectorize_1arg Number poly_eval +Compat.@dep_vectorize_1arg Number poly_eval # This function evaluates a polynomial with real coefficients for the complex @@ -24,7 +24,7 @@ end function poly_complex_eval(c::Real) ccall( (:gsl_poly_complex_eval, libgsl), gsl_complex, (Cdouble, ), c ) end -@vectorize_1arg Number poly_complex_eval +Compat.@dep_vectorize_1arg Number poly_complex_eval # This function evaluates a polynomial and its derivatives storing the results @@ -36,4 +36,4 @@ function poly_eval_derivs(c::Real) errno = ccall( (:gsl_poly_eval_derivs, libgsl), Cint, (Cdouble, ), c ) if errno!= 0 throw(GSL_ERROR(errno)) end end -@vectorize_1arg Number poly_eval_derivs +Compat.@dep_vectorize_1arg Number poly_eval_derivs diff --git a/src/_6_2_Divided_Difference_Representation_of_Polynomials.jl b/src/_6_2_Divided_Difference_Representation_of_Polynomials.jl index 7d16ad2..40389b0 100644 --- a/src/_6_2_Divided_Difference_Representation_of_Polynomials.jl +++ b/src/_6_2_Divided_Difference_Representation_of_Polynomials.jl @@ -17,7 +17,7 @@ function poly_dd_init(dd::Real) errno = ccall( (:gsl_poly_dd_init, libgsl), Cint, (Cdouble, ), dd ) if errno!= 0 throw(GSL_ERROR(errno)) end end -@vectorize_1arg Number poly_dd_init +Compat.@dep_vectorize_1arg Number poly_dd_init # This function evaluates the polynomial stored in divided-difference form in @@ -28,7 +28,7 @@ end function poly_dd_eval(dd::Real) ccall( (:gsl_poly_dd_eval, libgsl), Cdouble, (Cdouble, ), dd ) end -@vectorize_1arg Number poly_dd_eval +Compat.@dep_vectorize_1arg Number poly_dd_eval # This function converts the divided-difference representation of a polynomial @@ -42,4 +42,4 @@ function poly_dd_taylor(c::Real) errno = ccall( (:gsl_poly_dd_taylor, libgsl), Cint, (Cdouble, ), c ) if errno!= 0 throw(GSL_ERROR(errno)) end end -@vectorize_1arg Number poly_dd_taylor +Compat.@dep_vectorize_1arg Number poly_dd_taylor diff --git a/src/_6_3_Quadratic_Equations.jl b/src/_6_3_Quadratic_Equations.jl index 5173526..79132a8 100644 --- a/src/_6_3_Quadratic_Equations.jl +++ b/src/_6_3_Quadratic_Equations.jl @@ -35,8 +35,6 @@ function poly_solve_quadratic(a::Real, b::Real, c::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return x0[], x1[] end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number poly_solve_quadratic # This function finds the complex roots of the quadratic equation, @@ -56,5 +54,3 @@ function poly_complex_solve_quadratic(a::Real, b::Real, c::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return z0[], z1[] end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number poly_complex_solve_quadratic diff --git a/src/_6_4_Cubic_Equations.jl b/src/_6_4_Cubic_Equations.jl index d7d8f4f..f443360 100644 --- a/src/_6_4_Cubic_Equations.jl +++ b/src/_6_4_Cubic_Equations.jl @@ -33,8 +33,6 @@ function poly_solve_cubic(a::Real, b::Real, c::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return x0[], x1[], x2[] end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number poly_solve_cubic # This function finds the complex roots of the cubic equation, @@ -54,5 +52,3 @@ function poly_complex_solve_cubic(a::Real, b::Real, c::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return z0[], z1[], z2[] end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number poly_complex_solve_cubic diff --git a/src/_6_5_General_Polynomial_Equations.jl b/src/_6_5_General_Polynomial_Equations.jl index 5272b90..47bfc3d 100644 --- a/src/_6_5_General_Polynomial_Equations.jl +++ b/src/_6_5_General_Polynomial_Equations.jl @@ -20,7 +20,7 @@ function poly_complex_workspace_alloc(n::Integer) Ptr{gsl_poly_complex_workspace}, (Csize_t, ), n ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_1arg Number poly_complex_workspace_alloc +Compat.@dep_vectorize_1arg Number poly_complex_workspace_alloc # This function frees all the memory associated with the workspace w. diff --git a/src/_7_10_Debye_Functions.jl b/src/_7_10_Debye_Functions.jl index cec2fc0..2513efa 100644 --- a/src/_7_10_Debye_Functions.jl +++ b/src/_7_10_Debye_Functions.jl @@ -18,7 +18,7 @@ export sf_debye_1, sf_debye_1_e, sf_debye_2, sf_debye_2_e, sf_debye_3, function sf_debye_1(x::Real) ccall( (:gsl_sf_debye_1, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_debye_1 +Compat.@dep_vectorize_1arg Number sf_debye_1 # These routines compute the first-order Debye function D_1(x) = (1/x) \int_0^x @@ -32,7 +32,7 @@ function sf_debye_1_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_debye_1_e +Compat.@dep_vectorize_1arg Number sf_debye_1_e # These routines compute the second-order Debye function D_2(x) = (2/x^2) @@ -42,7 +42,7 @@ end function sf_debye_2(x::Real) ccall( (:gsl_sf_debye_2, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_debye_2 +Compat.@dep_vectorize_1arg Number sf_debye_2 # These routines compute the second-order Debye function D_2(x) = (2/x^2) @@ -56,7 +56,7 @@ function sf_debye_2_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_debye_2_e +Compat.@dep_vectorize_1arg Number sf_debye_2_e # These routines compute the third-order Debye function D_3(x) = (3/x^3) @@ -66,7 +66,7 @@ end function sf_debye_3(x::Real) ccall( (:gsl_sf_debye_3, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_debye_3 +Compat.@dep_vectorize_1arg Number sf_debye_3 # These routines compute the third-order Debye function D_3(x) = (3/x^3) @@ -80,7 +80,7 @@ function sf_debye_3_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_debye_3_e +Compat.@dep_vectorize_1arg Number sf_debye_3_e # These routines compute the fourth-order Debye function D_4(x) = (4/x^4) @@ -90,7 +90,7 @@ end function sf_debye_4(x::Real) ccall( (:gsl_sf_debye_4, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_debye_4 +Compat.@dep_vectorize_1arg Number sf_debye_4 # These routines compute the fourth-order Debye function D_4(x) = (4/x^4) @@ -104,7 +104,7 @@ function sf_debye_4_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_debye_4_e +Compat.@dep_vectorize_1arg Number sf_debye_4_e # These routines compute the fifth-order Debye function D_5(x) = (5/x^5) @@ -114,7 +114,7 @@ end function sf_debye_5(x::Real) ccall( (:gsl_sf_debye_5, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_debye_5 +Compat.@dep_vectorize_1arg Number sf_debye_5 # These routines compute the fifth-order Debye function D_5(x) = (5/x^5) @@ -128,7 +128,7 @@ function sf_debye_5_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_debye_5_e +Compat.@dep_vectorize_1arg Number sf_debye_5_e # These routines compute the sixth-order Debye function D_6(x) = (6/x^6) @@ -138,7 +138,7 @@ end function sf_debye_6(x::Real) ccall( (:gsl_sf_debye_6, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_debye_6 +Compat.@dep_vectorize_1arg Number sf_debye_6 # These routines compute the sixth-order Debye function D_6(x) = (6/x^6) @@ -152,4 +152,4 @@ function sf_debye_6_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_debye_6_e +Compat.@dep_vectorize_1arg Number sf_debye_6_e diff --git a/src/_7_11_1_Real_Argument.jl b/src/_7_11_1_Real_Argument.jl index 21136c8..308a367 100644 --- a/src/_7_11_1_Real_Argument.jl +++ b/src/_7_11_1_Real_Argument.jl @@ -18,7 +18,7 @@ export sf_dilog, sf_dilog_e function sf_dilog(x::Real) ccall( (:gsl_sf_dilog, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_dilog +Compat.@dep_vectorize_1arg Number sf_dilog # These routines compute the dilogarithm for a real argument. In Lewin's @@ -36,4 +36,4 @@ function sf_dilog_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_dilog_e +Compat.@dep_vectorize_1arg Number sf_dilog_e diff --git a/src/_7_11_2_Complex_Argument.jl b/src/_7_11_2_Complex_Argument.jl index 73d8128..8dc3d65 100644 --- a/src/_7_11_2_Complex_Argument.jl +++ b/src/_7_11_2_Complex_Argument.jl @@ -21,4 +21,4 @@ function sf_complex_dilog_e(r::Real, theta::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result_re[], result_im[] end -@vectorize_2arg Number sf_complex_dilog_e +Compat.@dep_vectorize_2arg Number sf_complex_dilog_e diff --git a/src/_7_12_Elementary_Operations.jl b/src/_7_12_Elementary_Operations.jl index c72b8af..0fc903c 100644 --- a/src/_7_12_Elementary_Operations.jl +++ b/src/_7_12_Elementary_Operations.jl @@ -18,7 +18,7 @@ function sf_multiply_e(x::Real, y::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_multiply_e +Compat.@dep_vectorize_2arg Number sf_multiply_e # This function multiplies x and y with associated absolute errors dx and dy. @@ -32,5 +32,3 @@ function sf_multiply_err_e(x::Real, dx::Real, y::Real, dy::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number sf_multiply_err_e diff --git a/src/_7_14_Elliptic_Functions_(Jacobi).jl b/src/_7_14_Elliptic_Functions_(Jacobi).jl index 38d3386..af13f8f 100644 --- a/src/_7_14_Elliptic_Functions_(Jacobi).jl +++ b/src/_7_14_Elliptic_Functions_(Jacobi).jl @@ -20,4 +20,4 @@ function sf_elljac_e(u::Real, m::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return sn[], cn[], dn[] end -@vectorize_2arg Number sf_elljac_e +Compat.@dep_vectorize_2arg Number sf_elljac_e diff --git a/src/_7_15_1_Error_Function.jl b/src/_7_15_1_Error_Function.jl index 69fd943..4445414 100644 --- a/src/_7_15_1_Error_Function.jl +++ b/src/_7_15_1_Error_Function.jl @@ -14,7 +14,7 @@ export sf_erf, sf_erf_e function sf_erf(x::Real) ccall( (:gsl_sf_erf, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_erf +Compat.@dep_vectorize_1arg Number sf_erf # These routines compute the error function erf(x), where erf(x) = @@ -28,4 +28,4 @@ function sf_erf_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_erf_e +Compat.@dep_vectorize_1arg Number sf_erf_e diff --git a/src/_7_15_2_Complementary_Error_Function.jl b/src/_7_15_2_Complementary_Error_Function.jl index 081ba28..ac72bac 100644 --- a/src/_7_15_2_Complementary_Error_Function.jl +++ b/src/_7_15_2_Complementary_Error_Function.jl @@ -14,7 +14,7 @@ export sf_erfc, sf_erfc_e function sf_erfc(x::Real) ccall( (:gsl_sf_erfc, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_erfc +Compat.@dep_vectorize_1arg Number sf_erfc # These routines compute the complementary error function erfc(x) = 1 - erf(x) @@ -28,4 +28,4 @@ function sf_erfc_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_erfc_e +Compat.@dep_vectorize_1arg Number sf_erfc_e diff --git a/src/_7_15_3_Log_Complementary_Error_Function.jl b/src/_7_15_3_Log_Complementary_Error_Function.jl index ab51b32..b07ae37 100644 --- a/src/_7_15_3_Log_Complementary_Error_Function.jl +++ b/src/_7_15_3_Log_Complementary_Error_Function.jl @@ -14,7 +14,7 @@ export sf_log_erfc, sf_log_erfc_e function sf_log_erfc(x::Real) ccall( (:gsl_sf_log_erfc, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_log_erfc +Compat.@dep_vectorize_1arg Number sf_log_erfc # These routines compute the logarithm of the complementary error function @@ -28,4 +28,4 @@ function sf_log_erfc_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_log_erfc_e +Compat.@dep_vectorize_1arg Number sf_log_erfc_e diff --git a/src/_7_15_4_Probability_functions.jl b/src/_7_15_4_Probability_functions.jl index aacc881..de9876a 100644 --- a/src/_7_15_4_Probability_functions.jl +++ b/src/_7_15_4_Probability_functions.jl @@ -16,7 +16,7 @@ export sf_erf_Z, sf_erf_Z_e, sf_erf_Q, sf_erf_Q_e, sf_hazard, sf_hazard_e function sf_erf_Z(x::Real) ccall( (:gsl_sf_erf_Z, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_erf_Z +Compat.@dep_vectorize_1arg Number sf_erf_Z # These routines compute the Gaussian probability density function Z(x) = @@ -30,7 +30,7 @@ function sf_erf_Z_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_erf_Z_e +Compat.@dep_vectorize_1arg Number sf_erf_Z_e # These routines compute the upper tail of the Gaussian probability function @@ -40,7 +40,7 @@ end function sf_erf_Q(x::Real) ccall( (:gsl_sf_erf_Q, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_erf_Q +Compat.@dep_vectorize_1arg Number sf_erf_Q # These routines compute the upper tail of the Gaussian probability function @@ -54,7 +54,7 @@ function sf_erf_Q_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_erf_Q_e +Compat.@dep_vectorize_1arg Number sf_erf_Q_e # These routines compute the hazard function for the normal distribution. @@ -63,7 +63,7 @@ end function sf_hazard(x::Real) ccall( (:gsl_sf_hazard, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_hazard +Compat.@dep_vectorize_1arg Number sf_hazard # These routines compute the hazard function for the normal distribution. @@ -76,4 +76,4 @@ function sf_hazard_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_hazard_e +Compat.@dep_vectorize_1arg Number sf_hazard_e diff --git a/src/_7_16_1_Exponential_Function.jl b/src/_7_16_1_Exponential_Function.jl index b536005..1f69603 100644 --- a/src/_7_16_1_Exponential_Function.jl +++ b/src/_7_16_1_Exponential_Function.jl @@ -15,7 +15,7 @@ export sf_exp, sf_exp_e, sf_exp_e10_e, sf_exp_mult, sf_exp_mult_e, function sf_exp(x::Real) ccall( (:gsl_sf_exp, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_exp +Compat.@dep_vectorize_1arg Number sf_exp # These routines provide an exponential function \exp(x) using GSL semantics @@ -29,7 +29,7 @@ function sf_exp_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_exp_e +Compat.@dep_vectorize_1arg Number sf_exp_e # This function computes the exponential \exp(x) using the gsl_sf_result_e10 @@ -44,7 +44,7 @@ function sf_exp_e10_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_exp_e10_e +Compat.@dep_vectorize_1arg Number sf_exp_e10_e # These routines exponentiate x and multiply by the factor y to return the @@ -54,7 +54,7 @@ end function sf_exp_mult(x::Real, y::Real) ccall( (:gsl_sf_exp_mult, libgsl), Cdouble, (Cdouble, Cdouble), x, y ) end -@vectorize_2arg Number sf_exp_mult +Compat.@dep_vectorize_2arg Number sf_exp_mult # These routines exponentiate x and multiply by the factor y to return the @@ -68,7 +68,7 @@ function sf_exp_mult_e(x::Real, y::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_exp_mult_e +Compat.@dep_vectorize_2arg Number sf_exp_mult_e # This function computes the product y \exp(x) using the gsl_sf_result_e10 type @@ -82,4 +82,4 @@ function sf_exp_mult_e10_e(x::Real, y::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_exp_mult_e10_e +Compat.@dep_vectorize_2arg Number sf_exp_mult_e10_e diff --git a/src/_7_16_2_Relative_Exponential_Functions.jl b/src/_7_16_2_Relative_Exponential_Functions.jl index 20ddb1c..9d11a16 100644 --- a/src/_7_16_2_Relative_Exponential_Functions.jl +++ b/src/_7_16_2_Relative_Exponential_Functions.jl @@ -17,7 +17,7 @@ export sf_expm1, sf_expm1_e, sf_exprel, sf_exprel_e, sf_exprel_2, function sf_expm1(x::Real) ccall( (:gsl_sf_expm1, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_expm1 +Compat.@dep_vectorize_1arg Number sf_expm1 # These routines compute the quantity \exp(x)-1 using an algorithm that is @@ -31,7 +31,7 @@ function sf_expm1_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_expm1_e +Compat.@dep_vectorize_1arg Number sf_expm1_e # These routines compute the quantity (\exp(x)-1)/x using an algorithm that is @@ -42,7 +42,7 @@ end function sf_exprel(x::Real) ccall( (:gsl_sf_exprel, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_exprel +Compat.@dep_vectorize_1arg Number sf_exprel # These routines compute the quantity (\exp(x)-1)/x using an algorithm that is @@ -57,7 +57,7 @@ function sf_exprel_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_exprel_e +Compat.@dep_vectorize_1arg Number sf_exprel_e # These routines compute the quantity 2(\exp(x)-1-x)/x^2 using an algorithm @@ -68,7 +68,7 @@ end function sf_exprel_2(x::Real) ccall( (:gsl_sf_exprel_2, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_exprel_2 +Compat.@dep_vectorize_1arg Number sf_exprel_2 # These routines compute the quantity 2(\exp(x)-1-x)/x^2 using an algorithm @@ -83,7 +83,7 @@ function sf_exprel_2_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_exprel_2_e +Compat.@dep_vectorize_1arg Number sf_exprel_2_e # These routines compute the N-relative exponential, which is the n-th @@ -96,7 +96,7 @@ end function sf_exprel_n(n::Integer, x::Real) ccall( (:gsl_sf_exprel_n, libgsl), Cdouble, (Cint, Cdouble), n, x ) end -@vectorize_2arg Number sf_exprel_n +Compat.@dep_vectorize_2arg Number sf_exprel_n # These routines compute the N-relative exponential, which is the n-th @@ -113,4 +113,4 @@ function sf_exprel_n_e(n::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_exprel_n_e +Compat.@dep_vectorize_2arg Number sf_exprel_n_e diff --git a/src/_7_16_3_Exponentiation_With_Error_Estimate.jl b/src/_7_16_3_Exponentiation_With_Error_Estimate.jl index c260936..61779b3 100644 --- a/src/_7_16_3_Exponentiation_With_Error_Estimate.jl +++ b/src/_7_16_3_Exponentiation_With_Error_Estimate.jl @@ -17,7 +17,7 @@ function sf_exp_err_e(x::Real, dx::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_exp_err_e +Compat.@dep_vectorize_2arg Number sf_exp_err_e # This function exponentiates a quantity x with an associated absolute error dx @@ -31,7 +31,7 @@ function sf_exp_err_e10_e(x::Real, dx::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_exp_err_e10_e +Compat.@dep_vectorize_2arg Number sf_exp_err_e10_e # This routine computes the product y \exp(x) for the quantities x, y with @@ -45,8 +45,6 @@ function sf_exp_mult_err_e(x::Real, dx::Real, y::Real, dy::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number sf_exp_mult_err_e # This routine computes the product y \exp(x) for the quantities x, y with @@ -62,5 +60,3 @@ function sf_exp_mult_err_e10_e(x::Real, dx::Real, y::Real, dy::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number sf_exp_mult_err_e10_e diff --git a/src/_7_17_1_Exponential_Integral.jl b/src/_7_17_1_Exponential_Integral.jl index 62c92ff..73373a3 100644 --- a/src/_7_17_1_Exponential_Integral.jl +++ b/src/_7_17_1_Exponential_Integral.jl @@ -21,7 +21,7 @@ export sf_expint_E1, sf_expint_E1_e, sf_expint_E2, sf_expint_E2_e, function sf_expint_E1(x::Real) ccall( (:gsl_sf_expint_E1, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_expint_E1 +Compat.@dep_vectorize_1arg Number sf_expint_E1 # These routines compute the exponential integral E_1(x), @@ -35,7 +35,7 @@ function sf_expint_E1_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_expint_E1_e +Compat.@dep_vectorize_1arg Number sf_expint_E1_e # These routines compute the second-order exponential integral E_2(x), @@ -45,7 +45,7 @@ end function sf_expint_E2(x::Real) ccall( (:gsl_sf_expint_E2, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_expint_E2 +Compat.@dep_vectorize_1arg Number sf_expint_E2 # These routines compute the second-order exponential integral E_2(x), @@ -59,7 +59,7 @@ function sf_expint_E2_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_expint_E2_e +Compat.@dep_vectorize_1arg Number sf_expint_E2_e # These routines compute the exponential integral E_n(x) of order n, @@ -69,7 +69,7 @@ end function sf_expint_En(n::Integer, x::Real) ccall( (:gsl_sf_expint_En, libgsl), Cdouble, (Cint, Cdouble), n, x ) end -@vectorize_2arg Number sf_expint_En +Compat.@dep_vectorize_2arg Number sf_expint_En # These routines compute the exponential integral E_n(x) of order n, @@ -83,4 +83,4 @@ function sf_expint_En_e(n::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_expint_En_e +Compat.@dep_vectorize_2arg Number sf_expint_En_e diff --git a/src/_7_17_2_Ei(x).jl b/src/_7_17_2_Ei(x).jl index 48d1156..b3f200e 100644 --- a/src/_7_17_2_Ei(x).jl +++ b/src/_7_17_2_Ei(x).jl @@ -17,7 +17,7 @@ export sf_expint_Ei, sf_expint_Ei_e function sf_expint_Ei(x::Real) ccall( (:gsl_sf_expint_Ei, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_expint_Ei +Compat.@dep_vectorize_1arg Number sf_expint_Ei # These routines compute the exponential integral Ei(x), Ei(x) @@ -32,4 +32,4 @@ function sf_expint_Ei_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_expint_Ei_e +Compat.@dep_vectorize_1arg Number sf_expint_Ei_e diff --git a/src/_7_17_3_Hyperbolic_Integrals.jl b/src/_7_17_3_Hyperbolic_Integrals.jl index 4a71929..8f3a0a5 100644 --- a/src/_7_17_3_Hyperbolic_Integrals.jl +++ b/src/_7_17_3_Hyperbolic_Integrals.jl @@ -13,7 +13,7 @@ export sf_Shi, sf_Shi_e, sf_Chi, sf_Chi_e function sf_Shi(x::Real) ccall( (:gsl_sf_Shi, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_Shi +Compat.@dep_vectorize_1arg Number sf_Shi # These routines compute the integral Shi(x) = \int_0^x dt \sinh(t)/t. @@ -26,7 +26,7 @@ function sf_Shi_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_Shi_e +Compat.@dep_vectorize_1arg Number sf_Shi_e # These routines compute the integral Chi(x) := \Re[ \gamma_E + \log(x) + @@ -37,7 +37,7 @@ end function sf_Chi(x::Real) ccall( (:gsl_sf_Chi, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_Chi +Compat.@dep_vectorize_1arg Number sf_Chi # These routines compute the integral Chi(x) := \Re[ \gamma_E + \log(x) + @@ -52,4 +52,4 @@ function sf_Chi_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_Chi_e +Compat.@dep_vectorize_1arg Number sf_Chi_e diff --git a/src/_7_17_4_Ei_3(x).jl b/src/_7_17_4_Ei_3(x).jl index 4285984..3191ec5 100644 --- a/src/_7_17_4_Ei_3(x).jl +++ b/src/_7_17_4_Ei_3(x).jl @@ -14,7 +14,7 @@ export sf_expint_3, sf_expint_3_e function sf_expint_3(x::Real) ccall( (:gsl_sf_expint_3, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_expint_3 +Compat.@dep_vectorize_1arg Number sf_expint_3 # These routines compute the third-order exponential integral Ei_3(x) = @@ -28,4 +28,4 @@ function sf_expint_3_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_expint_3_e +Compat.@dep_vectorize_1arg Number sf_expint_3_e diff --git a/src/_7_17_5_Trigonometric_Integrals.jl b/src/_7_17_5_Trigonometric_Integrals.jl index af22577..1d2c9ab 100644 --- a/src/_7_17_5_Trigonometric_Integrals.jl +++ b/src/_7_17_5_Trigonometric_Integrals.jl @@ -13,7 +13,7 @@ export sf_Si, sf_Si_e, sf_Ci, sf_Ci_e function sf_Si(x::Real) ccall( (:gsl_sf_Si, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_Si +Compat.@dep_vectorize_1arg Number sf_Si # These routines compute the Sine integral Si(x) = \int_0^x dt \sin(t)/t. @@ -26,7 +26,7 @@ function sf_Si_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_Si_e +Compat.@dep_vectorize_1arg Number sf_Si_e # These routines compute the Cosine integral Ci(x) = -\int_x^\infty dt @@ -36,7 +36,7 @@ end function sf_Ci(x::Real) ccall( (:gsl_sf_Ci, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_Ci +Compat.@dep_vectorize_1arg Number sf_Ci # These routines compute the Cosine integral Ci(x) = -\int_x^\infty dt @@ -50,4 +50,4 @@ function sf_Ci_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_Ci_e +Compat.@dep_vectorize_1arg Number sf_Ci_e diff --git a/src/_7_17_6_Arctangent_Integral.jl b/src/_7_17_6_Arctangent_Integral.jl index 83efd92..4c643da 100644 --- a/src/_7_17_6_Arctangent_Integral.jl +++ b/src/_7_17_6_Arctangent_Integral.jl @@ -14,7 +14,7 @@ export sf_atanint, sf_atanint_e function sf_atanint(x::Real) ccall( (:gsl_sf_atanint, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_atanint +Compat.@dep_vectorize_1arg Number sf_atanint # These routines compute the Arctangent integral, which is defined as @@ -28,4 +28,4 @@ function sf_atanint_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_atanint_e +Compat.@dep_vectorize_1arg Number sf_atanint_e diff --git a/src/_7_18_1_Complete_Fermi-Dirac_Integrals.jl b/src/_7_18_1_Complete_Fermi-Dirac_Integrals.jl index 6bd478c..ca8634b 100644 --- a/src/_7_18_1_Complete_Fermi-Dirac_Integrals.jl +++ b/src/_7_18_1_Complete_Fermi-Dirac_Integrals.jl @@ -21,7 +21,7 @@ export sf_fermi_dirac_m1, sf_fermi_dirac_m1_e, sf_fermi_dirac_0, function sf_fermi_dirac_m1(x::Real) ccall( (:gsl_sf_fermi_dirac_m1, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_fermi_dirac_m1 +Compat.@dep_vectorize_1arg Number sf_fermi_dirac_m1 # These routines compute the complete Fermi-Dirac integral with an index of -1. @@ -35,7 +35,7 @@ function sf_fermi_dirac_m1_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_fermi_dirac_m1_e +Compat.@dep_vectorize_1arg Number sf_fermi_dirac_m1_e # These routines compute the complete Fermi-Dirac integral with an index of 0. @@ -45,7 +45,7 @@ end function sf_fermi_dirac_0(x::Real) ccall( (:gsl_sf_fermi_dirac_0, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_fermi_dirac_0 +Compat.@dep_vectorize_1arg Number sf_fermi_dirac_0 # These routines compute the complete Fermi-Dirac integral with an index of 0. @@ -59,7 +59,7 @@ function sf_fermi_dirac_0_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_fermi_dirac_0_e +Compat.@dep_vectorize_1arg Number sf_fermi_dirac_0_e # These routines compute the complete Fermi-Dirac integral with an index of 1, @@ -69,7 +69,7 @@ end function sf_fermi_dirac_1(x::Real) ccall( (:gsl_sf_fermi_dirac_1, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_fermi_dirac_1 +Compat.@dep_vectorize_1arg Number sf_fermi_dirac_1 # These routines compute the complete Fermi-Dirac integral with an index of 1, @@ -83,7 +83,7 @@ function sf_fermi_dirac_1_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_fermi_dirac_1_e +Compat.@dep_vectorize_1arg Number sf_fermi_dirac_1_e # These routines compute the complete Fermi-Dirac integral with an index of 2, @@ -93,7 +93,7 @@ end function sf_fermi_dirac_2(x::Real) ccall( (:gsl_sf_fermi_dirac_2, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_fermi_dirac_2 +Compat.@dep_vectorize_1arg Number sf_fermi_dirac_2 # These routines compute the complete Fermi-Dirac integral with an index of 2, @@ -107,7 +107,7 @@ function sf_fermi_dirac_2_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_fermi_dirac_2_e +Compat.@dep_vectorize_1arg Number sf_fermi_dirac_2_e # These routines compute the complete Fermi-Dirac integral with an integer @@ -118,7 +118,7 @@ function sf_fermi_dirac_int(j::Integer, x::Real) ccall( (:gsl_sf_fermi_dirac_int, libgsl), Cdouble, (Cint, Cdouble), j, x ) end -@vectorize_2arg Number sf_fermi_dirac_int +Compat.@dep_vectorize_2arg Number sf_fermi_dirac_int # These routines compute the complete Fermi-Dirac integral with an integer @@ -132,7 +132,7 @@ function sf_fermi_dirac_int_e(j::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_fermi_dirac_int_e +Compat.@dep_vectorize_2arg Number sf_fermi_dirac_int_e # These routines compute the complete Fermi-Dirac integral F_{-1/2}(x). @@ -141,7 +141,7 @@ end function sf_fermi_dirac_mhalf(x::Real) ccall( (:gsl_sf_fermi_dirac_mhalf, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_fermi_dirac_mhalf +Compat.@dep_vectorize_1arg Number sf_fermi_dirac_mhalf # These routines compute the complete Fermi-Dirac integral F_{-1/2}(x). @@ -154,7 +154,7 @@ function sf_fermi_dirac_mhalf_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_fermi_dirac_mhalf_e +Compat.@dep_vectorize_1arg Number sf_fermi_dirac_mhalf_e # These routines compute the complete Fermi-Dirac integral F_{1/2}(x). @@ -163,7 +163,7 @@ end function sf_fermi_dirac_half(x::Real) ccall( (:gsl_sf_fermi_dirac_half, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_fermi_dirac_half +Compat.@dep_vectorize_1arg Number sf_fermi_dirac_half # These routines compute the complete Fermi-Dirac integral F_{1/2}(x). @@ -176,7 +176,7 @@ function sf_fermi_dirac_half_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_fermi_dirac_half_e +Compat.@dep_vectorize_1arg Number sf_fermi_dirac_half_e # These routines compute the complete Fermi-Dirac integral F_{3/2}(x). @@ -185,7 +185,7 @@ end function sf_fermi_dirac_3half(x::Real) ccall( (:gsl_sf_fermi_dirac_3half, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_fermi_dirac_3half +Compat.@dep_vectorize_1arg Number sf_fermi_dirac_3half # These routines compute the complete Fermi-Dirac integral F_{3/2}(x). @@ -198,4 +198,4 @@ function sf_fermi_dirac_3half_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_fermi_dirac_3half_e +Compat.@dep_vectorize_1arg Number sf_fermi_dirac_3half_e diff --git a/src/_7_18_2_Incomplete_Fermi-Dirac_Integrals.jl b/src/_7_18_2_Incomplete_Fermi-Dirac_Integrals.jl index 9494c3c..ca0773c 100644 --- a/src/_7_18_2_Incomplete_Fermi-Dirac_Integrals.jl +++ b/src/_7_18_2_Incomplete_Fermi-Dirac_Integrals.jl @@ -17,7 +17,7 @@ function sf_fermi_dirac_inc_0(x::Real, b::Real) ccall( (:gsl_sf_fermi_dirac_inc_0, libgsl), Cdouble, (Cdouble, Cdouble), x, b ) end -@vectorize_2arg Number sf_fermi_dirac_inc_0 +Compat.@dep_vectorize_2arg Number sf_fermi_dirac_inc_0 # These routines compute the incomplete Fermi-Dirac integral with an index of @@ -31,4 +31,4 @@ function sf_fermi_dirac_inc_0_e(x::Real, b::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_fermi_dirac_inc_0_e +Compat.@dep_vectorize_2arg Number sf_fermi_dirac_inc_0_e diff --git a/src/_7_19_1_Gamma_Functions.jl b/src/_7_19_1_Gamma_Functions.jl index ec07513..4ecc1e4 100644 --- a/src/_7_19_1_Gamma_Functions.jl +++ b/src/_7_19_1_Gamma_Functions.jl @@ -22,7 +22,7 @@ export sf_gamma, sf_gamma_e, sf_lngamma, sf_lngamma_e, sf_lngamma_sgn_e, function sf_gamma(x::Real) ccall( (:gsl_sf_gamma, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_gamma +Compat.@dep_vectorize_1arg Number sf_gamma # These routines compute the Gamma function \Gamma(x), subject to x not being a @@ -38,7 +38,7 @@ function sf_gamma_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_gamma_e +Compat.@dep_vectorize_1arg Number sf_gamma_e # These routines compute the logarithm of the Gamma function, \log(\Gamma(x)), @@ -50,7 +50,7 @@ end function sf_lngamma(x::Real) ccall( (:gsl_sf_lngamma, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_lngamma +Compat.@dep_vectorize_1arg Number sf_lngamma # These routines compute the logarithm of the Gamma function, \log(\Gamma(x)), @@ -66,7 +66,7 @@ function sf_lngamma_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_lngamma_e +Compat.@dep_vectorize_1arg Number sf_lngamma_e # This routine computes the sign of the gamma function and the logarithm of its @@ -84,7 +84,7 @@ function sf_lngamma_sgn_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result_lg[], sgn[] end -@vectorize_1arg Number sf_lngamma_sgn_e +Compat.@dep_vectorize_1arg Number sf_lngamma_sgn_e # These routines compute the regulated Gamma Function \Gamma^*(x) for x > 0. @@ -96,7 +96,7 @@ end function sf_gammastar(x::Real) ccall( (:gsl_sf_gammastar, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_gammastar +Compat.@dep_vectorize_1arg Number sf_gammastar # These routines compute the regulated Gamma Function \Gamma^*(x) for x > 0. @@ -112,7 +112,7 @@ function sf_gammastar_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_gammastar_e +Compat.@dep_vectorize_1arg Number sf_gammastar_e # These routines compute the reciprocal of the gamma function, 1/\Gamma(x) @@ -122,7 +122,7 @@ end function sf_gammainv(x::Real) ccall( (:gsl_sf_gammainv, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_gammainv +Compat.@dep_vectorize_1arg Number sf_gammainv # These routines compute the reciprocal of the gamma function, 1/\Gamma(x) @@ -136,7 +136,7 @@ function sf_gammainv_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_gammainv_e +Compat.@dep_vectorize_1arg Number sf_gammainv_e # This routine computes \log(\Gamma(z)) for complex z=z_r+i z_i and z not a @@ -156,4 +156,4 @@ function sf_lngamma_complex_e(zr::Real, zi::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return lnr[], arg[] end -@vectorize_2arg Number sf_lngamma_complex_e +Compat.@dep_vectorize_2arg Number sf_lngamma_complex_e diff --git a/src/_7_19_2_Factorials.jl b/src/_7_19_2_Factorials.jl index 85db740..ce7a075 100644 --- a/src/_7_19_2_Factorials.jl +++ b/src/_7_19_2_Factorials.jl @@ -17,7 +17,7 @@ export sf_fact, sf_fact_e, sf_doublefact, sf_doublefact_e, sf_lnfact, function sf_fact(n::Integer) ccall( (:gsl_sf_fact, libgsl), Cdouble, (Cuint, ), n ) end -@vectorize_1arg Number sf_fact +Compat.@dep_vectorize_1arg Number sf_fact # These routines compute the factorial n!. The factorial is related to the @@ -32,7 +32,7 @@ function sf_fact_e(n::Integer) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_fact_e +Compat.@dep_vectorize_1arg Number sf_fact_e # These routines compute the double factorial n!! = n(n-2)(n-4) \dots. The @@ -43,7 +43,7 @@ end function sf_doublefact(n::Integer) ccall( (:gsl_sf_doublefact, libgsl), Cdouble, (Cuint, ), n ) end -@vectorize_1arg Number sf_doublefact +Compat.@dep_vectorize_1arg Number sf_doublefact # These routines compute the double factorial n!! = n(n-2)(n-4) \dots. The @@ -58,7 +58,7 @@ function sf_doublefact_e(n::Integer) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_doublefact_e +Compat.@dep_vectorize_1arg Number sf_doublefact_e # These routines compute the logarithm of the factorial of n, \log(n!). The @@ -69,7 +69,7 @@ end function sf_lnfact(n::Integer) ccall( (:gsl_sf_lnfact, libgsl), Cdouble, (Cuint, ), n ) end -@vectorize_1arg Number sf_lnfact +Compat.@dep_vectorize_1arg Number sf_lnfact # These routines compute the logarithm of the factorial of n, \log(n!). The @@ -84,7 +84,7 @@ function sf_lnfact_e(n::Integer) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_lnfact_e +Compat.@dep_vectorize_1arg Number sf_lnfact_e # These routines compute the logarithm of the double factorial of n, \log(n!!). @@ -93,7 +93,7 @@ end function sf_lndoublefact(n::Integer) ccall( (:gsl_sf_lndoublefact, libgsl), Cdouble, (Cuint, ), n ) end -@vectorize_1arg Number sf_lndoublefact +Compat.@dep_vectorize_1arg Number sf_lndoublefact # These routines compute the logarithm of the double factorial of n, \log(n!!). @@ -106,7 +106,7 @@ function sf_lndoublefact_e(n::Integer) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_lndoublefact_e +Compat.@dep_vectorize_1arg Number sf_lndoublefact_e # These routines compute the combinatorial factor n choose m = n!/(m!(n-m)!) @@ -115,7 +115,7 @@ end function sf_choose(n::Integer, m::Integer) ccall( (:gsl_sf_choose, libgsl), Cdouble, (Cuint, Cuint), n, m ) end -@vectorize_2arg Number sf_choose +Compat.@dep_vectorize_2arg Number sf_choose # These routines compute the combinatorial factor n choose m = n!/(m!(n-m)!) @@ -128,7 +128,7 @@ function sf_choose_e(n::Integer, m::Integer) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_choose_e +Compat.@dep_vectorize_2arg Number sf_choose_e # These routines compute the logarithm of n choose m. This is equivalent to @@ -138,7 +138,7 @@ end function sf_lnchoose(n::Integer, m::Integer) ccall( (:gsl_sf_lnchoose, libgsl), Cdouble, (Cuint, Cuint), n, m ) end -@vectorize_2arg Number sf_lnchoose +Compat.@dep_vectorize_2arg Number sf_lnchoose # These routines compute the logarithm of n choose m. This is equivalent to @@ -152,7 +152,7 @@ function sf_lnchoose_e(n::Integer, m::Integer) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_lnchoose_e +Compat.@dep_vectorize_2arg Number sf_lnchoose_e # These routines compute the Taylor coefficient x^n / n! for x >= 0, n >= 0. @@ -161,7 +161,7 @@ end function sf_taylorcoeff(n::Integer, x::Real) ccall( (:gsl_sf_taylorcoeff, libgsl), Cdouble, (Cint, Cdouble), n, x ) end -@vectorize_2arg Number sf_taylorcoeff +Compat.@dep_vectorize_2arg Number sf_taylorcoeff # These routines compute the Taylor coefficient x^n / n! for x >= 0, n >= 0. @@ -174,4 +174,4 @@ function sf_taylorcoeff_e(n::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_taylorcoeff_e +Compat.@dep_vectorize_2arg Number sf_taylorcoeff_e diff --git a/src/_7_19_3_Pochhammer_Symbol.jl b/src/_7_19_3_Pochhammer_Symbol.jl index 788a61d..eeb939e 100644 --- a/src/_7_19_3_Pochhammer_Symbol.jl +++ b/src/_7_19_3_Pochhammer_Symbol.jl @@ -17,7 +17,7 @@ export sf_poch, sf_poch_e, sf_lnpoch, sf_lnpoch_e, sf_lnpoch_sgn_e, sf_pochrel, function sf_poch(a::Real, x::Real) ccall( (:gsl_sf_poch, libgsl), Cdouble, (Cdouble, Cdouble), a, x ) end -@vectorize_2arg Number sf_poch +Compat.@dep_vectorize_2arg Number sf_poch # These routines compute the Pochhammer symbol (a)_x = \Gamma(a + x)/\Gamma(a). @@ -33,7 +33,7 @@ function sf_poch_e(a::Real, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_poch_e +Compat.@dep_vectorize_2arg Number sf_poch_e # These routines compute the logarithm of the Pochhammer symbol, \log((a)_x) = @@ -43,7 +43,7 @@ end function sf_lnpoch(a::Real, x::Real) ccall( (:gsl_sf_lnpoch, libgsl), Cdouble, (Cdouble, Cdouble), a, x ) end -@vectorize_2arg Number sf_lnpoch +Compat.@dep_vectorize_2arg Number sf_lnpoch # These routines compute the logarithm of the Pochhammer symbol, \log((a)_x) = @@ -57,7 +57,7 @@ function sf_lnpoch_e(a::Real, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_lnpoch_e +Compat.@dep_vectorize_2arg Number sf_lnpoch_e # These routines compute the sign of the Pochhammer symbol and the logarithm of @@ -74,7 +74,7 @@ function sf_lnpoch_sgn_e(a::Real, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[], sgn[] end -@vectorize_2arg Number sf_lnpoch_sgn_e +Compat.@dep_vectorize_2arg Number sf_lnpoch_sgn_e # These routines compute the relative Pochhammer symbol ((a)_x - 1)/x where @@ -84,7 +84,7 @@ end function sf_pochrel(a::Real, x::Real) ccall( (:gsl_sf_pochrel, libgsl), Cdouble, (Cdouble, Cdouble), a, x ) end -@vectorize_2arg Number sf_pochrel +Compat.@dep_vectorize_2arg Number sf_pochrel # These routines compute the relative Pochhammer symbol ((a)_x - 1)/x where @@ -98,4 +98,4 @@ function sf_pochrel_e(a::Real, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_pochrel_e +Compat.@dep_vectorize_2arg Number sf_pochrel_e diff --git a/src/_7_19_4_Incomplete_Gamma_Functions.jl b/src/_7_19_4_Incomplete_Gamma_Functions.jl index 78f6b56..91a6a2d 100644 --- a/src/_7_19_4_Incomplete_Gamma_Functions.jl +++ b/src/_7_19_4_Incomplete_Gamma_Functions.jl @@ -16,7 +16,7 @@ function sf_gamma_inc(a::Real, x::Real) ccall( (:gsl_sf_gamma_inc, libgsl), Cdouble, (Cdouble, Cdouble), a, x ) end -@vectorize_2arg Number sf_gamma_inc +Compat.@dep_vectorize_2arg Number sf_gamma_inc # These functions compute the unnormalized incomplete Gamma Function @@ -30,7 +30,7 @@ function sf_gamma_inc_e(a::Real, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_gamma_inc_e +Compat.@dep_vectorize_2arg Number sf_gamma_inc_e # These routines compute the normalized incomplete Gamma Function Q(a,x) = @@ -41,7 +41,7 @@ function sf_gamma_inc_Q(a::Real, x::Real) ccall( (:gsl_sf_gamma_inc_Q, libgsl), Cdouble, (Cdouble, Cdouble), a, x ) end -@vectorize_2arg Number sf_gamma_inc_Q +Compat.@dep_vectorize_2arg Number sf_gamma_inc_Q # These routines compute the normalized incomplete Gamma Function Q(a,x) = @@ -55,7 +55,7 @@ function sf_gamma_inc_Q_e(a::Real, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_gamma_inc_Q_e +Compat.@dep_vectorize_2arg Number sf_gamma_inc_Q_e # These routines compute the complementary normalized incomplete Gamma Function @@ -68,7 +68,7 @@ function sf_gamma_inc_P(a::Real, x::Real) ccall( (:gsl_sf_gamma_inc_P, libgsl), Cdouble, (Cdouble, Cdouble), a, x ) end -@vectorize_2arg Number sf_gamma_inc_P +Compat.@dep_vectorize_2arg Number sf_gamma_inc_P # These routines compute the complementary normalized incomplete Gamma Function @@ -84,4 +84,4 @@ function sf_gamma_inc_P_e(a::Real, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_gamma_inc_P_e +Compat.@dep_vectorize_2arg Number sf_gamma_inc_P_e diff --git a/src/_7_19_5_Beta_Functions.jl b/src/_7_19_5_Beta_Functions.jl index 10e076d..56128fb 100644 --- a/src/_7_19_5_Beta_Functions.jl +++ b/src/_7_19_5_Beta_Functions.jl @@ -15,7 +15,7 @@ export sf_beta, sf_beta_e, sf_lnbeta, sf_lnbeta_e function sf_beta(a::Real, b::Real) ccall( (:gsl_sf_beta, libgsl), Cdouble, (Cdouble, Cdouble), a, b ) end -@vectorize_2arg Number sf_beta +Compat.@dep_vectorize_2arg Number sf_beta # These routines compute the Beta Function, B(a,b) = @@ -30,7 +30,7 @@ function sf_beta_e(a::Real, b::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_beta_e +Compat.@dep_vectorize_2arg Number sf_beta_e # These routines compute the logarithm of the Beta Function, \log(B(a,b)) @@ -40,7 +40,7 @@ end function sf_lnbeta(a::Real, b::Real) ccall( (:gsl_sf_lnbeta, libgsl), Cdouble, (Cdouble, Cdouble), a, b ) end -@vectorize_2arg Number sf_lnbeta +Compat.@dep_vectorize_2arg Number sf_lnbeta # These routines compute the logarithm of the Beta Function, \log(B(a,b)) @@ -54,4 +54,4 @@ function sf_lnbeta_e(a::Real, b::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_lnbeta_e +Compat.@dep_vectorize_2arg Number sf_lnbeta_e diff --git a/src/_7_19_6_Incomplete_Beta_Function.jl b/src/_7_19_6_Incomplete_Beta_Function.jl index 7225192..ceec465 100644 --- a/src/_7_19_6_Incomplete_Beta_Function.jl +++ b/src/_7_19_6_Incomplete_Beta_Function.jl @@ -18,8 +18,6 @@ function sf_beta_inc(a::Real, b::Real, x::Real) ccall( (:gsl_sf_beta_inc, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), a, b, x ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number sf_beta_inc # These routines compute the normalized incomplete Beta function @@ -36,5 +34,3 @@ function sf_beta_inc_e(a::Real, b::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_beta_inc_e diff --git a/src/_7_20_Gegenbauer_Functions.jl b/src/_7_20_Gegenbauer_Functions.jl index 84761e0..759baa0 100644 --- a/src/_7_20_Gegenbauer_Functions.jl +++ b/src/_7_20_Gegenbauer_Functions.jl @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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) @@ -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[][1] end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number sf_gegenpoly_array diff --git a/src/_7_21_Hypergeometric_Functions.jl b/src/_7_21_Hypergeometric_Functions.jl index afd2590..e942af7 100644 --- a/src/_7_21_Hypergeometric_Functions.jl +++ b/src/_7_21_Hypergeometric_Functions.jl @@ -20,7 +20,7 @@ function sf_hyperg_0F1(c::Real, x::Real) ccall( (:gsl_sf_hyperg_0F1, libgsl), Cdouble, (Cdouble, Cdouble), c, x ) end -@vectorize_2arg Number sf_hyperg_0F1 +Compat.@dep_vectorize_2arg Number sf_hyperg_0F1 # These routines compute the hypergeometric function 0F1(c,x). @@ -33,7 +33,7 @@ function sf_hyperg_0F1_e(c::Real, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_hyperg_0F1_e +Compat.@dep_vectorize_2arg Number sf_hyperg_0F1_e # These routines compute the confluent hypergeometric function 1F1(m,n,x) = @@ -44,8 +44,6 @@ function sf_hyperg_1F1_int(m::Integer, n::Integer, x::Real) ccall( (:gsl_sf_hyperg_1F1_int, libgsl), Cdouble, (Cint, Cint, Cdouble), m, n, x ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number sf_hyperg_1F1_int # These routines compute the confluent hypergeometric function 1F1(m,n,x) = @@ -59,8 +57,6 @@ function sf_hyperg_1F1_int_e(m::Integer, n::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number sf_hyperg_1F1_int_e # These routines compute the confluent hypergeometric function 1F1(a,b,x) = @@ -71,8 +67,6 @@ function sf_hyperg_1F1(a::Real, b::Real, x::Real) ccall( (:gsl_sf_hyperg_1F1, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), a, b, x ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number sf_hyperg_1F1 # These routines compute the confluent hypergeometric function 1F1(a,b,x) = @@ -86,8 +80,6 @@ function sf_hyperg_1F1_e(a::Real, b::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_hyperg_1F1_e # These routines compute the confluent hypergeometric function U(m,n,x) for @@ -98,8 +90,6 @@ function sf_hyperg_U_int(m::Integer, n::Integer, x::Real) ccall( (:gsl_sf_hyperg_U_int, libgsl), Cdouble, (Cint, Cint, Cdouble), m, n, x ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number sf_hyperg_U_int # These routines compute the confluent hypergeometric function U(m,n,x) for @@ -113,8 +103,6 @@ function sf_hyperg_U_int_e(m::Integer, n::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number sf_hyperg_U_int_e # This routine computes the confluent hypergeometric function U(m,n,x) for @@ -129,8 +117,6 @@ function sf_hyperg_U_int_e10_e(m::Integer, n::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number sf_hyperg_U_int_e10_e # These routines compute the confluent hypergeometric function U(a,b,x). @@ -140,8 +126,6 @@ function sf_hyperg_U(a::Real, b::Real, x::Real) ccall( (:gsl_sf_hyperg_U, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), a, b, x ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number sf_hyperg_U # These routines compute the confluent hypergeometric function U(a,b,x). @@ -154,8 +138,6 @@ function sf_hyperg_U_e(a::Real, b::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_hyperg_U_e # This routine computes the confluent hypergeometric function U(a,b,x) using @@ -169,8 +151,6 @@ function sf_hyperg_U_e10_e(a::Real, b::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_hyperg_U_e10_e # These routines compute the Gauss hypergeometric function 2F1(a,b,c,x) = @@ -184,8 +164,6 @@ function sf_hyperg_2F1(a::Real, b::Real, c::Real, x::Real) ccall( (:gsl_sf_hyperg_2F1, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble, Cdouble), a, b, c, x ) end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number sf_hyperg_2F1 # These routines compute the Gauss hypergeometric function 2F1(a,b,c,x) = @@ -202,8 +180,6 @@ function sf_hyperg_2F1_e(a::Real, b::Real, c::Real, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number sf_hyperg_2F1_e # These routines compute the Gauss hypergeometric function 2F1(a_R + i a_I, @@ -214,8 +190,6 @@ function sf_hyperg_2F1_conj(aR::Real, aI::Real, c::Real, x::Real) ccall( (:gsl_sf_hyperg_2F1_conj, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble, Cdouble), aR, aI, c, x ) end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number sf_hyperg_2F1_conj # These routines compute the Gauss hypergeometric function 2F1(a_R + i a_I, @@ -229,8 +203,6 @@ function sf_hyperg_2F1_conj_e(aR::Real, aI::Real, c::Real, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number sf_hyperg_2F1_conj_e # These routines compute the renormalized Gauss hypergeometric function @@ -241,8 +213,6 @@ function sf_hyperg_2F1_renorm(a::Real, b::Real, c::Real, x::Real) ccall( (:gsl_sf_hyperg_2F1_renorm, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble, Cdouble), a, b, c, x ) end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number sf_hyperg_2F1_renorm # These routines compute the renormalized Gauss hypergeometric function @@ -256,8 +226,6 @@ function sf_hyperg_2F1_renorm_e(a::Real, b::Real, c::Real, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number sf_hyperg_2F1_renorm_e # These routines compute the renormalized Gauss hypergeometric function @@ -268,8 +236,6 @@ function sf_hyperg_2F1_conj_renorm(aR::Real, aI::Real, c::Real, x::Real) ccall( (:gsl_sf_hyperg_2F1_conj_renorm, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble, Cdouble), aR, aI, c, x ) end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number sf_hyperg_2F1_conj_renorm # These routines compute the renormalized Gauss hypergeometric function @@ -284,8 +250,6 @@ function sf_hyperg_2F1_conj_renorm_e(aR::Real, aI::Real, c::Real, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number sf_hyperg_2F1_conj_renorm_e # These routines compute the hypergeometric function 2F0(a,b,x). The series @@ -297,8 +261,6 @@ function sf_hyperg_2F0(a::Real, b::Real, x::Real) ccall( (:gsl_sf_hyperg_2F0, libgsl), Cdouble, (Cdouble, Cdouble, Cdouble), a, b, x ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number sf_hyperg_2F0 # These routines compute the hypergeometric function 2F0(a,b,x). The series @@ -313,5 +275,3 @@ function sf_hyperg_2F0_e(a::Real, b::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_hyperg_2F0_e diff --git a/src/_7_22_Laguerre_Functions.jl b/src/_7_22_Laguerre_Functions.jl index 01f5409..f9b101f 100644 --- a/src/_7_22_Laguerre_Functions.jl +++ b/src/_7_22_Laguerre_Functions.jl @@ -16,7 +16,7 @@ function sf_laguerre_1(a::Real, x::Real) ccall( (:gsl_sf_laguerre_1, libgsl), Cdouble, (Cdouble, Cdouble), a, x ) end -@vectorize_2arg Number sf_laguerre_1 +Compat.@dep_vectorize_2arg Number sf_laguerre_1 # These routines evaluate the generalized Laguerre polynomials L^a_1(x), @@ -27,7 +27,7 @@ function sf_laguerre_2(a::Real, x::Real) ccall( (:gsl_sf_laguerre_2, libgsl), Cdouble, (Cdouble, Cdouble), a, x ) end -@vectorize_2arg Number sf_laguerre_2 +Compat.@dep_vectorize_2arg Number sf_laguerre_2 # These routines evaluate the generalized Laguerre polynomials L^a_1(x), @@ -38,7 +38,7 @@ function sf_laguerre_3(a::Real, x::Real) ccall( (:gsl_sf_laguerre_3, libgsl), Cdouble, (Cdouble, Cdouble), a, x ) end -@vectorize_2arg Number sf_laguerre_3 +Compat.@dep_vectorize_2arg Number sf_laguerre_3 # These routines evaluate the generalized Laguerre polynomials L^a_1(x), @@ -52,7 +52,7 @@ function sf_laguerre_1_e(a::Real, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_laguerre_1_e +Compat.@dep_vectorize_2arg Number sf_laguerre_1_e # These routines evaluate the generalized Laguerre polynomials L^a_1(x), @@ -66,7 +66,7 @@ function sf_laguerre_2_e(a::Real, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_laguerre_2_e +Compat.@dep_vectorize_2arg Number sf_laguerre_2_e # These routines evaluate the generalized Laguerre polynomials L^a_1(x), @@ -80,7 +80,7 @@ function sf_laguerre_3_e(a::Real, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_laguerre_3_e +Compat.@dep_vectorize_2arg Number sf_laguerre_3_e # These routines evaluate the generalized Laguerre polynomials L^a_n(x) for a > @@ -91,8 +91,6 @@ function sf_laguerre_n(n::Integer, a::Real, x::Real) ccall( (:gsl_sf_laguerre_n, libgsl), Cdouble, (Cint, Cdouble, Cdouble), n, a, x ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number sf_laguerre_n # These routines evaluate the generalized Laguerre polynomials L^a_n(x) for a > @@ -106,5 +104,3 @@ function sf_laguerre_n_e(n::Integer, a::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_laguerre_n_e diff --git a/src/_7_23_Lambert_W_Functions.jl b/src/_7_23_Lambert_W_Functions.jl index 4e089c4..76cdebd 100644 --- a/src/_7_23_Lambert_W_Functions.jl +++ b/src/_7_23_Lambert_W_Functions.jl @@ -13,7 +13,7 @@ export sf_lambert_W0, sf_lambert_W0_e, sf_lambert_Wm1, sf_lambert_Wm1_e function sf_lambert_W0(x::Real) ccall( (:gsl_sf_lambert_W0, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_lambert_W0 +Compat.@dep_vectorize_1arg Number sf_lambert_W0 # These compute the principal branch of the Lambert W function, W_0(x). @@ -26,7 +26,7 @@ function sf_lambert_W0_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_lambert_W0_e +Compat.@dep_vectorize_1arg Number sf_lambert_W0_e # These compute the secondary real-valued branch of the Lambert W function, @@ -36,7 +36,7 @@ end function sf_lambert_Wm1(x::Real) ccall( (:gsl_sf_lambert_Wm1, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_lambert_Wm1 +Compat.@dep_vectorize_1arg Number sf_lambert_Wm1 # These compute the secondary real-valued branch of the Lambert W function, @@ -50,4 +50,4 @@ function sf_lambert_Wm1_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_lambert_Wm1_e +Compat.@dep_vectorize_1arg Number sf_lambert_Wm1_e diff --git a/src/_7_24_1_Legendre_Polynomials.jl b/src/_7_24_1_Legendre_Polynomials.jl index 23324b9..7ae4ebe 100644 --- a/src/_7_24_1_Legendre_Polynomials.jl +++ b/src/_7_24_1_Legendre_Polynomials.jl @@ -18,7 +18,7 @@ export sf_legendre_P1, sf_legendre_P2, sf_legendre_P3, sf_legendre_P1_e, function sf_legendre_P1(x::Real) ccall( (:gsl_sf_legendre_P1, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_legendre_P1 +Compat.@dep_vectorize_1arg Number sf_legendre_P1 # These functions evaluate the Legendre polynomials P_l(x) using explicit @@ -28,7 +28,7 @@ end function sf_legendre_P2(x::Real) ccall( (:gsl_sf_legendre_P2, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_legendre_P2 +Compat.@dep_vectorize_1arg Number sf_legendre_P2 # These functions evaluate the Legendre polynomials P_l(x) using explicit @@ -38,7 +38,7 @@ end function sf_legendre_P3(x::Real) ccall( (:gsl_sf_legendre_P3, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_legendre_P3 +Compat.@dep_vectorize_1arg Number sf_legendre_P3 # These functions evaluate the Legendre polynomials P_l(x) using explicit @@ -52,7 +52,7 @@ function sf_legendre_P1_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_legendre_P1_e +Compat.@dep_vectorize_1arg Number sf_legendre_P1_e # These functions evaluate the Legendre polynomials P_l(x) using explicit @@ -66,7 +66,7 @@ function sf_legendre_P2_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_legendre_P2_e +Compat.@dep_vectorize_1arg Number sf_legendre_P2_e # These functions evaluate the Legendre polynomials P_l(x) using explicit @@ -80,7 +80,7 @@ function sf_legendre_P3_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_legendre_P3_e +Compat.@dep_vectorize_1arg Number sf_legendre_P3_e # These functions evaluate the Legendre polynomial P_l(x) for a specific value @@ -90,7 +90,7 @@ end function sf_legendre_Pl(l::Integer, x::Real) ccall( (:gsl_sf_legendre_Pl, libgsl), Cdouble, (Cint, Cdouble), l, x ) end -@vectorize_2arg Number sf_legendre_Pl +Compat.@dep_vectorize_2arg Number sf_legendre_Pl # These functions evaluate the Legendre polynomial P_l(x) for a specific value @@ -104,7 +104,7 @@ function sf_legendre_Pl_e(l::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_legendre_Pl_e +Compat.@dep_vectorize_2arg Number sf_legendre_Pl_e # These functions compute arrays of Legendre polynomials P_l(x) and derivatives @@ -118,7 +118,7 @@ function sf_legendre_Pl_array(lmax::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result_array end -@vectorize_2arg Number sf_legendre_Pl_array +Compat.@dep_vectorize_2arg Number sf_legendre_Pl_array # These functions compute arrays of Legendre polynomials P_l(x) and derivatives @@ -133,7 +133,7 @@ function sf_legendre_Pl_deriv_array(lmax::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return (result_array, result_deriv_array) end -@vectorize_2arg Number sf_legendre_Pl_deriv_array +Compat.@dep_vectorize_2arg Number sf_legendre_Pl_deriv_array # These routines compute the Legendre function Q_0(x) for x > -1, x != 1. @@ -142,7 +142,7 @@ end function sf_legendre_Q0(x::Real) ccall( (:gsl_sf_legendre_Q0, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_legendre_Q0 +Compat.@dep_vectorize_1arg Number sf_legendre_Q0 # These routines compute the Legendre function Q_0(x) for x > -1, x != 1. @@ -155,7 +155,7 @@ function sf_legendre_Q0_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_legendre_Q0_e +Compat.@dep_vectorize_1arg Number sf_legendre_Q0_e # These routines compute the Legendre function Q_1(x) for x > -1, x != 1. @@ -164,7 +164,7 @@ end function sf_legendre_Q1(x::Real) ccall( (:gsl_sf_legendre_Q1, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_legendre_Q1 +Compat.@dep_vectorize_1arg Number sf_legendre_Q1 # These routines compute the Legendre function Q_1(x) for x > -1, x != 1. @@ -177,7 +177,7 @@ function sf_legendre_Q1_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_legendre_Q1_e +Compat.@dep_vectorize_1arg Number sf_legendre_Q1_e # These routines compute the Legendre function Q_l(x) for x > -1, x != 1 and @@ -187,7 +187,7 @@ end function sf_legendre_Ql(l::Integer, x::Real) ccall( (:gsl_sf_legendre_Ql, libgsl), Cdouble, (Cint, Cdouble), l, x ) end -@vectorize_2arg Number sf_legendre_Ql +Compat.@dep_vectorize_2arg Number sf_legendre_Ql # These routines compute the Legendre function Q_l(x) for x > -1, x != 1 and @@ -201,4 +201,4 @@ function sf_legendre_Ql_e(l::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_legendre_Ql_e +Compat.@dep_vectorize_2arg Number sf_legendre_Ql_e diff --git a/src/_7_24_2_Associated_Legendre_Polynomials_and_Spherical_Harmonics.jl b/src/_7_24_2_Associated_Legendre_Polynomials_and_Spherical_Harmonics.jl index 6e52387..ce74a7a 100644 --- a/src/_7_24_2_Associated_Legendre_Polynomials_and_Spherical_Harmonics.jl +++ b/src/_7_24_2_Associated_Legendre_Polynomials_and_Spherical_Harmonics.jl @@ -18,8 +18,6 @@ function sf_legendre_Plm(l::Integer, m::Integer, x::Real) ccall( (:gsl_sf_legendre_Plm, libgsl), Cdouble, (Cint, Cint, Cdouble), l, m, x ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number sf_legendre_Plm # These routines compute the associated Legendre polynomial P_l^m(x) for m >= @@ -33,8 +31,6 @@ function sf_legendre_Plm_e(l::Integer, m::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number sf_legendre_Plm_e # These functions compute arrays of Legendre polynomials P_l^m(x) and @@ -49,8 +45,6 @@ function sf_legendre_Plm_array(lmax::Integer, m::Integer, 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_legendre_Plm_array # These functions compute arrays of Legendre polynomials P_l^m(x) and @@ -66,8 +60,6 @@ function sf_legendre_Plm_deriv_array(lmax::Integer, m::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return (result_array, result_deriv_array) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number sf_legendre_Plm_deriv_array # These routines compute the normalized associated Legendre polynomial @@ -81,8 +73,6 @@ function sf_legendre_sphPlm(l::Integer, m::Integer, x::Real) ccall( (:gsl_sf_legendre_sphPlm, libgsl), Cdouble, (Cint, Cint, Cdouble), l, m, x ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number sf_legendre_sphPlm # These routines compute the normalized associated Legendre polynomial @@ -99,8 +89,6 @@ function sf_legendre_sphPlm_e(l::Integer, m::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number sf_legendre_sphPlm_e # These functions compute arrays of normalized associated Legendre functions @@ -116,8 +104,6 @@ function sf_legendre_sphPlm_array(lmax::Integer, m::Integer, 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_legendre_sphPlm_array # These functions compute arrays of normalized associated Legendre functions @@ -134,8 +120,6 @@ function sf_legendre_sphPlm_deriv_array(lmax::Integer, m::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return (result_array, result_deriv_array) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number sf_legendre_sphPlm_deriv_array # This function returns the size of result_array[] needed for the array @@ -148,4 +132,4 @@ function sf_legendre_array_size(lmax::Integer, m::Integer) Cint), lmax, m ) if errno!= 0 throw(GSL_ERROR(errno)) end end -@vectorize_2arg Number sf_legendre_array_size +Compat.@dep_vectorize_2arg Number sf_legendre_array_size diff --git a/src/_7_24_3_Conical_Functions.jl b/src/_7_24_3_Conical_Functions.jl index 83a900b..6f40758 100644 --- a/src/_7_24_3_Conical_Functions.jl +++ b/src/_7_24_3_Conical_Functions.jl @@ -18,7 +18,7 @@ function sf_conicalP_half(lambda::Real, x::Real) ccall( (:gsl_sf_conicalP_half, libgsl), Cdouble, (Cdouble, Cdouble), lambda, x ) end -@vectorize_2arg Number sf_conicalP_half +Compat.@dep_vectorize_2arg Number sf_conicalP_half # These routines compute the irregular Spherical Conical Function @@ -32,7 +32,7 @@ function sf_conicalP_half_e(lambda::Real, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_conicalP_half_e +Compat.@dep_vectorize_2arg Number sf_conicalP_half_e # These routines compute the regular Spherical Conical Function P^{-1/2}_{-1/2 @@ -43,7 +43,7 @@ function sf_conicalP_mhalf(lambda::Real, x::Real) ccall( (:gsl_sf_conicalP_mhalf, libgsl), Cdouble, (Cdouble, Cdouble), lambda, x ) end -@vectorize_2arg Number sf_conicalP_mhalf +Compat.@dep_vectorize_2arg Number sf_conicalP_mhalf # These routines compute the regular Spherical Conical Function P^{-1/2}_{-1/2 @@ -57,7 +57,7 @@ function sf_conicalP_mhalf_e(lambda::Real, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_conicalP_mhalf_e +Compat.@dep_vectorize_2arg Number sf_conicalP_mhalf_e # These routines compute the conical function P^0_{-1/2 + i \lambda}(x) for x @@ -68,7 +68,7 @@ function sf_conicalP_0(lambda::Real, x::Real) ccall( (:gsl_sf_conicalP_0, libgsl), Cdouble, (Cdouble, Cdouble), lambda, x ) end -@vectorize_2arg Number sf_conicalP_0 +Compat.@dep_vectorize_2arg Number sf_conicalP_0 # These routines compute the conical function P^0_{-1/2 + i \lambda}(x) for x @@ -82,7 +82,7 @@ function sf_conicalP_0_e(lambda::Real, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_conicalP_0_e +Compat.@dep_vectorize_2arg Number sf_conicalP_0_e # These routines compute the conical function P^1_{-1/2 + i \lambda}(x) for x @@ -93,7 +93,7 @@ function sf_conicalP_1(lambda::Real, x::Real) ccall( (:gsl_sf_conicalP_1, libgsl), Cdouble, (Cdouble, Cdouble), lambda, x ) end -@vectorize_2arg Number sf_conicalP_1 +Compat.@dep_vectorize_2arg Number sf_conicalP_1 # These routines compute the conical function P^1_{-1/2 + i \lambda}(x) for x @@ -107,7 +107,7 @@ function sf_conicalP_1_e(lambda::Real, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_conicalP_1_e +Compat.@dep_vectorize_2arg Number sf_conicalP_1_e # These routines compute the Regular Spherical Conical Function @@ -118,8 +118,6 @@ function sf_conicalP_sph_reg(l::Integer, lambda::Real, x::Real) ccall( (:gsl_sf_conicalP_sph_reg, libgsl), Cdouble, (Cint, Cdouble, Cdouble), l, lambda, x ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number sf_conicalP_sph_reg # These routines compute the Regular Spherical Conical Function @@ -133,8 +131,6 @@ function sf_conicalP_sph_reg_e(l::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_conicalP_sph_reg_e # These routines compute the Regular Cylindrical Conical Function P^{-m}_{-1/2 @@ -145,8 +141,6 @@ function sf_conicalP_cyl_reg(m::Integer, lambda::Real, x::Real) ccall( (:gsl_sf_conicalP_cyl_reg, libgsl), Cdouble, (Cint, Cdouble, Cdouble), m, lambda, x ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number sf_conicalP_cyl_reg # These routines compute the Regular Cylindrical Conical Function P^{-m}_{-1/2 @@ -160,5 +154,3 @@ function sf_conicalP_cyl_reg_e(m::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_conicalP_cyl_reg_e diff --git a/src/_7_24_4_Radial_Functions_for_Hyperbolic_Space.jl b/src/_7_24_4_Radial_Functions_for_Hyperbolic_Space.jl index 1ed7f77..65a45e5 100644 --- a/src/_7_24_4_Radial_Functions_for_Hyperbolic_Space.jl +++ b/src/_7_24_4_Radial_Functions_for_Hyperbolic_Space.jl @@ -19,7 +19,7 @@ function sf_legendre_H3d_0(lambda::Real, eta::Real) ccall( (:gsl_sf_legendre_H3d_0, libgsl), Cdouble, (Cdouble, Cdouble), lambda, eta ) end -@vectorize_2arg Number sf_legendre_H3d_0 +Compat.@dep_vectorize_2arg Number sf_legendre_H3d_0 # These routines compute the zeroth radial eigenfunction of the Laplacian on @@ -35,7 +35,7 @@ function sf_legendre_H3d_0_e(lambda::Real, eta::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_legendre_H3d_0_e +Compat.@dep_vectorize_2arg Number sf_legendre_H3d_0_e # These routines compute the first radial eigenfunction of the Laplacian on the @@ -49,7 +49,7 @@ function sf_legendre_H3d_1(lambda::Real, eta::Real) ccall( (:gsl_sf_legendre_H3d_1, libgsl), Cdouble, (Cdouble, Cdouble), lambda, eta ) end -@vectorize_2arg Number sf_legendre_H3d_1 +Compat.@dep_vectorize_2arg Number sf_legendre_H3d_1 # These routines compute the first radial eigenfunction of the Laplacian on the @@ -66,7 +66,7 @@ function sf_legendre_H3d_1_e(lambda::Real, eta::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_legendre_H3d_1_e +Compat.@dep_vectorize_2arg Number sf_legendre_H3d_1_e # These routines compute the l-th radial eigenfunction of the Laplacian on the @@ -78,8 +78,6 @@ function sf_legendre_H3d(l::Integer, lambda::Real, eta::Real) ccall( (:gsl_sf_legendre_H3d, libgsl), Cdouble, (Cint, Cdouble, Cdouble), l, lambda, eta ) end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number sf_legendre_H3d # These routines compute the l-th radial eigenfunction of the Laplacian on the @@ -94,8 +92,6 @@ function sf_legendre_H3d_e(l::Integer, lambda::Real, eta::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number sf_legendre_H3d_e # This function computes an array of radial eigenfunctions L^{H3d}_l(\lambda, @@ -109,5 +105,3 @@ function sf_legendre_H3d_array(lmax::Integer, lambda::Real, eta::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result_array[][1] end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number sf_legendre_H3d_array diff --git a/src/_7_25_Logarithm_and_Related_Functions.jl b/src/_7_25_Logarithm_and_Related_Functions.jl index fdd61b4..53c1c2a 100644 --- a/src/_7_25_Logarithm_and_Related_Functions.jl +++ b/src/_7_25_Logarithm_and_Related_Functions.jl @@ -14,7 +14,7 @@ export sf_log, sf_log_e, sf_log_abs, sf_log_abs_e, sf_complex_log_e, function sf_log(x::Real) ccall( (:gsl_sf_log, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_log +Compat.@dep_vectorize_1arg Number sf_log # These routines compute the logarithm of x, \log(x), for x > 0. @@ -27,7 +27,7 @@ function sf_log_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_log_e +Compat.@dep_vectorize_1arg Number sf_log_e # These routines compute the logarithm of the magnitude of x, \log(|x|), for x @@ -37,7 +37,7 @@ end function sf_log_abs(x::Real) ccall( (:gsl_sf_log_abs, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_log_abs +Compat.@dep_vectorize_1arg Number sf_log_abs # These routines compute the logarithm of the magnitude of x, \log(|x|), for x @@ -51,7 +51,7 @@ function sf_log_abs_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_log_abs_e +Compat.@dep_vectorize_1arg Number sf_log_abs_e # This routine computes the complex logarithm of z = z_r + i z_i. The results @@ -67,7 +67,7 @@ function sf_complex_log_e(zr::Real, zi::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return lnr[], theta[] end -@vectorize_2arg Number sf_complex_log_e +Compat.@dep_vectorize_2arg Number sf_complex_log_e # These routines compute \log(1 + x) for x > -1 using an algorithm that is @@ -77,7 +77,7 @@ end function sf_log_1plusx(x::Real) ccall( (:gsl_sf_log_1plusx, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_log_1plusx +Compat.@dep_vectorize_1arg Number sf_log_1plusx # These routines compute \log(1 + x) for x > -1 using an algorithm that is @@ -91,7 +91,7 @@ function sf_log_1plusx_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_log_1plusx_e +Compat.@dep_vectorize_1arg Number sf_log_1plusx_e # These routines compute \log(1 + x) - x for x > -1 using an algorithm that is @@ -101,7 +101,7 @@ end function sf_log_1plusx_mx(x::Real) ccall( (:gsl_sf_log_1plusx_mx, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_log_1plusx_mx +Compat.@dep_vectorize_1arg Number sf_log_1plusx_mx # These routines compute \log(1 + x) - x for x > -1 using an algorithm that is @@ -115,4 +115,4 @@ function sf_log_1plusx_mx_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_log_1plusx_mx_e +Compat.@dep_vectorize_1arg Number sf_log_1plusx_mx_e diff --git a/src/_7_26_1_Mathieu_Function_Workspace.jl b/src/_7_26_1_Mathieu_Function_Workspace.jl index 958dc12..41a45b2 100644 --- a/src/_7_26_1_Mathieu_Function_Workspace.jl +++ b/src/_7_26_1_Mathieu_Function_Workspace.jl @@ -17,7 +17,7 @@ function sf_mathieu_alloc(n::Integer, qmax::Real) Ptr{gsl_sf_mathieu_workspace}, (Csize_t, Cdouble), n, qmax ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_2arg Number sf_mathieu_alloc +Compat.@dep_vectorize_2arg Number sf_mathieu_alloc # This function frees the workspace work. diff --git a/src/_7_26_2_Mathieu_Function_Characteristic_Values.jl b/src/_7_26_2_Mathieu_Function_Characteristic_Values.jl index 6deee45..7975d55 100644 --- a/src/_7_26_2_Mathieu_Function_Characteristic_Values.jl +++ b/src/_7_26_2_Mathieu_Function_Characteristic_Values.jl @@ -18,7 +18,7 @@ function sf_mathieu_a(n::Integer, q::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_mathieu_a +Compat.@dep_vectorize_2arg Number sf_mathieu_a # These routines compute the characteristic values a_n(q), b_n(q) of the @@ -32,7 +32,7 @@ function sf_mathieu_b(n::Integer, q::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_mathieu_b +Compat.@dep_vectorize_2arg Number sf_mathieu_b # These routines compute a series of Mathieu characteristic values a_n(q), @@ -49,8 +49,6 @@ function sf_mathieu_a_array(order_min::Integer, order_max::Integer, q::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return work[], result_array[][1] end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number sf_mathieu_a_array # These routines compute a series of Mathieu characteristic values a_n(q), @@ -67,5 +65,3 @@ function sf_mathieu_b_array(order_min::Integer, order_max::Integer, q::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return work[], result_array[][1] end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number sf_mathieu_b_array diff --git a/src/_7_26_3_Angular_Mathieu_Functions.jl b/src/_7_26_3_Angular_Mathieu_Functions.jl index 5ea2579..630a769 100644 --- a/src/_7_26_3_Angular_Mathieu_Functions.jl +++ b/src/_7_26_3_Angular_Mathieu_Functions.jl @@ -18,8 +18,6 @@ function sf_mathieu_ce(n::Integer, q::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_mathieu_ce # These routines compute the angular Mathieu functions ce_n(q,x) and se_n(q,x), @@ -33,8 +31,6 @@ function sf_mathieu_se(n::Integer, q::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_mathieu_se # These routines compute a series of the angular Mathieu functions ce_n(q,x) @@ -51,8 +47,6 @@ function sf_mathieu_ce_array(nmin::Integer, nmax::Integer, q::Real, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return work[], result_array[][1] end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number sf_mathieu_ce_array # These routines compute a series of the angular Mathieu functions ce_n(q,x) @@ -69,5 +63,3 @@ function sf_mathieu_se_array(nmin::Integer, nmax::Integer, q::Real, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return work[], result_array[][1] end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number sf_mathieu_se_array diff --git a/src/_7_26_4_Radial_Mathieu_Functions.jl b/src/_7_26_4_Radial_Mathieu_Functions.jl index 02c54e7..1e9c345 100644 --- a/src/_7_26_4_Radial_Mathieu_Functions.jl +++ b/src/_7_26_4_Radial_Mathieu_Functions.jl @@ -21,8 +21,6 @@ function sf_mathieu_Mc(j::Integer, n::Integer, q::Real, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number sf_mathieu_Mc # These routines compute the radial j-th kind Mathieu functions @@ -39,8 +37,6 @@ function sf_mathieu_Ms(j::Integer, n::Integer, q::Real, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number sf_mathieu_Ms # These routines compute a series of the radial Mathieu functions of kind j, @@ -57,8 +53,6 @@ function sf_mathieu_Mc_array(j::Integer, nmin::Integer, nmax::Integer, q::Real, if errno!= 0 throw(GSL_ERROR(errno)) end return work[], result_array[][1] end -#TODO This vectorization macro is not implemented -#@vectorize_5arg Number sf_mathieu_Mc_array # These routines compute a series of the radial Mathieu functions of kind j, @@ -75,5 +69,3 @@ function sf_mathieu_Ms_array(j::Integer, nmin::Integer, nmax::Integer, q::Real, if errno!= 0 throw(GSL_ERROR(errno)) end return work[], result_array[][1] end -#TODO This vectorization macro is not implemented -#@vectorize_5arg Number sf_mathieu_Ms_array diff --git a/src/_7_27_Power_Function.jl b/src/_7_27_Power_Function.jl index 0d9587a..453d7ce 100644 --- a/src/_7_27_Power_Function.jl +++ b/src/_7_27_Power_Function.jl @@ -18,7 +18,7 @@ export sf_pow_int, sf_pow_int_e function sf_pow_int(x::Real, n::Integer) ccall( (:gsl_sf_pow_int, libgsl), Cdouble, (Cdouble, Cint), x, n ) end -@vectorize_2arg Number sf_pow_int +Compat.@dep_vectorize_2arg Number sf_pow_int # These routines compute the power x^n for integer n. The power is computed @@ -34,4 +34,4 @@ function sf_pow_int_e(x::Real, n::Integer) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_pow_int_e +Compat.@dep_vectorize_2arg Number sf_pow_int_e diff --git a/src/_7_28_1_Digamma_Function.jl b/src/_7_28_1_Digamma_Function.jl index 7a12a0b..d79ffe0 100644 --- a/src/_7_28_1_Digamma_Function.jl +++ b/src/_7_28_1_Digamma_Function.jl @@ -14,7 +14,7 @@ export sf_psi_int, sf_psi_int_e, sf_psi, sf_psi_e, sf_psi_1piy, sf_psi_1piy_e function sf_psi_int(n::Integer) ccall( (:gsl_sf_psi_int, libgsl), Cdouble, (Cint, ), n ) end -@vectorize_1arg Number sf_psi_int +Compat.@dep_vectorize_1arg Number sf_psi_int # These routines compute the digamma function \psi(n) for positive integer n. @@ -28,7 +28,7 @@ function sf_psi_int_e(n::Integer) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_psi_int_e +Compat.@dep_vectorize_1arg Number sf_psi_int_e # These routines compute the digamma function \psi(x) for general x, x \ne 0. @@ -37,7 +37,7 @@ end function sf_psi(x::Real) ccall( (:gsl_sf_psi, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_psi +Compat.@dep_vectorize_1arg Number sf_psi # These routines compute the digamma function \psi(x) for general x, x \ne 0. @@ -50,7 +50,7 @@ function sf_psi_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_psi_e +Compat.@dep_vectorize_1arg Number sf_psi_e # These routines compute the real part of the digamma function on the line 1+i @@ -60,7 +60,7 @@ end function sf_psi_1piy(y::Real) ccall( (:gsl_sf_psi_1piy, libgsl), Cdouble, (Cdouble, ), y ) end -@vectorize_1arg Number sf_psi_1piy +Compat.@dep_vectorize_1arg Number sf_psi_1piy # These routines compute the real part of the digamma function on the line 1+i @@ -74,4 +74,4 @@ function sf_psi_1piy_e(y::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_psi_1piy_e +Compat.@dep_vectorize_1arg Number sf_psi_1piy_e diff --git a/src/_7_28_2_Trigamma_Function.jl b/src/_7_28_2_Trigamma_Function.jl index c727ada..c9302b0 100644 --- a/src/_7_28_2_Trigamma_Function.jl +++ b/src/_7_28_2_Trigamma_Function.jl @@ -13,7 +13,7 @@ export sf_psi_1_int, sf_psi_1_int_e, sf_psi_1, sf_psi_1_e function sf_psi_1_int(n::Integer) ccall( (:gsl_sf_psi_1_int, libgsl), Cdouble, (Cint, ), n ) end -@vectorize_1arg Number sf_psi_1_int +Compat.@dep_vectorize_1arg Number sf_psi_1_int # These routines compute the Trigamma function \psi'(n) for positive integer n. @@ -26,7 +26,7 @@ function sf_psi_1_int_e(n::Integer) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_psi_1_int_e +Compat.@dep_vectorize_1arg Number sf_psi_1_int_e # These routines compute the Trigamma function \psi'(x) for general x. @@ -35,7 +35,7 @@ end function sf_psi_1(x::Real) ccall( (:gsl_sf_psi_1, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_psi_1 +Compat.@dep_vectorize_1arg Number sf_psi_1 # These routines compute the Trigamma function \psi'(x) for general x. @@ -48,4 +48,4 @@ function sf_psi_1_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_psi_1_e +Compat.@dep_vectorize_1arg Number sf_psi_1_e diff --git a/src/_7_28_3_Polygamma_Function.jl b/src/_7_28_3_Polygamma_Function.jl index d4391d6..cbf8645 100644 --- a/src/_7_28_3_Polygamma_Function.jl +++ b/src/_7_28_3_Polygamma_Function.jl @@ -14,7 +14,7 @@ export sf_psi_n, sf_psi_n_e function sf_psi_n(n::Integer, x::Real) ccall( (:gsl_sf_psi_n, libgsl), Cdouble, (Cint, Cdouble), n, x ) end -@vectorize_2arg Number sf_psi_n +Compat.@dep_vectorize_2arg Number sf_psi_n # These routines compute the polygamma function \psi^{(n)}(x) for n >= 0, x > @@ -28,4 +28,4 @@ function sf_psi_n_e(n::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_psi_n_e +Compat.@dep_vectorize_2arg Number sf_psi_n_e diff --git a/src/_7_29_Synchrotron_Functions.jl b/src/_7_29_Synchrotron_Functions.jl index 98689dc..d87f136 100644 --- a/src/_7_29_Synchrotron_Functions.jl +++ b/src/_7_29_Synchrotron_Functions.jl @@ -15,7 +15,7 @@ export sf_synchrotron_1, sf_synchrotron_1_e, sf_synchrotron_2, function sf_synchrotron_1(x::Real) ccall( (:gsl_sf_synchrotron_1, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_synchrotron_1 +Compat.@dep_vectorize_1arg Number sf_synchrotron_1 # These routines compute the first synchrotron function x \int_x^\infty dt @@ -29,7 +29,7 @@ function sf_synchrotron_1_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_synchrotron_1_e +Compat.@dep_vectorize_1arg Number sf_synchrotron_1_e # These routines compute the second synchrotron function x K_{2/3}(x) for x @@ -39,7 +39,7 @@ end function sf_synchrotron_2(x::Real) ccall( (:gsl_sf_synchrotron_2, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_synchrotron_2 +Compat.@dep_vectorize_1arg Number sf_synchrotron_2 # These routines compute the second synchrotron function x K_{2/3}(x) for x @@ -53,4 +53,4 @@ function sf_synchrotron_2_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_synchrotron_2_e +Compat.@dep_vectorize_1arg Number sf_synchrotron_2_e diff --git a/src/_7_30_Transport_Functions.jl b/src/_7_30_Transport_Functions.jl index 318d7c6..f382042 100644 --- a/src/_7_30_Transport_Functions.jl +++ b/src/_7_30_Transport_Functions.jl @@ -14,7 +14,7 @@ export sf_transport_2, sf_transport_2_e, sf_transport_3, sf_transport_3_e, function sf_transport_2(x::Real) ccall( (:gsl_sf_transport_2, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_transport_2 +Compat.@dep_vectorize_1arg Number sf_transport_2 # These routines compute the transport function J(2,x). @@ -27,7 +27,7 @@ function sf_transport_2_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_transport_2_e +Compat.@dep_vectorize_1arg Number sf_transport_2_e # These routines compute the transport function J(3,x). @@ -36,7 +36,7 @@ end function sf_transport_3(x::Real) ccall( (:gsl_sf_transport_3, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_transport_3 +Compat.@dep_vectorize_1arg Number sf_transport_3 # These routines compute the transport function J(3,x). @@ -49,7 +49,7 @@ function sf_transport_3_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_transport_3_e +Compat.@dep_vectorize_1arg Number sf_transport_3_e # These routines compute the transport function J(4,x). @@ -58,7 +58,7 @@ end function sf_transport_4(x::Real) ccall( (:gsl_sf_transport_4, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_transport_4 +Compat.@dep_vectorize_1arg Number sf_transport_4 # These routines compute the transport function J(4,x). @@ -71,7 +71,7 @@ function sf_transport_4_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_transport_4_e +Compat.@dep_vectorize_1arg Number sf_transport_4_e # These routines compute the transport function J(5,x). @@ -80,7 +80,7 @@ end function sf_transport_5(x::Real) ccall( (:gsl_sf_transport_5, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_transport_5 +Compat.@dep_vectorize_1arg Number sf_transport_5 # These routines compute the transport function J(5,x). @@ -93,4 +93,4 @@ function sf_transport_5_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_transport_5_e +Compat.@dep_vectorize_1arg Number sf_transport_5_e diff --git a/src/_7_31_1_Circular_Trigonometric_Functions.jl b/src/_7_31_1_Circular_Trigonometric_Functions.jl index f81741e..3550b84 100644 --- a/src/_7_31_1_Circular_Trigonometric_Functions.jl +++ b/src/_7_31_1_Circular_Trigonometric_Functions.jl @@ -14,7 +14,7 @@ export sf_sin, sf_sin_e, sf_cos, sf_cos_e, sf_hypot, sf_hypot_e, sf_sinc, function sf_sin(x::Real) ccall( (:gsl_sf_sin, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_sin +Compat.@dep_vectorize_1arg Number sf_sin # These routines compute the sine function \sin(x). @@ -27,7 +27,7 @@ function sf_sin_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_sin_e +Compat.@dep_vectorize_1arg Number sf_sin_e # These routines compute the cosine function \cos(x). @@ -36,7 +36,7 @@ end function sf_cos(x::Real) ccall( (:gsl_sf_cos, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_cos +Compat.@dep_vectorize_1arg Number sf_cos # These routines compute the cosine function \cos(x). @@ -49,7 +49,7 @@ function sf_cos_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_cos_e +Compat.@dep_vectorize_1arg Number sf_cos_e # These routines compute the hypotenuse function \sqrt{x^2 + y^2} avoiding @@ -59,7 +59,7 @@ end function sf_hypot(x::Real, y::Real) ccall( (:gsl_sf_hypot, libgsl), Cdouble, (Cdouble, Cdouble), x, y ) end -@vectorize_2arg Number sf_hypot +Compat.@dep_vectorize_2arg Number sf_hypot # These routines compute the hypotenuse function \sqrt{x^2 + y^2} avoiding @@ -73,7 +73,7 @@ function sf_hypot_e(x::Real, y::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_hypot_e +Compat.@dep_vectorize_2arg Number sf_hypot_e # These routines compute \sinc(x) = \sin(\pi x) / (\pi x) for any value of x. @@ -82,7 +82,7 @@ end function sf_sinc(x::Real) ccall( (:gsl_sf_sinc, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_sinc +Compat.@dep_vectorize_1arg Number sf_sinc # These routines compute \sinc(x) = \sin(\pi x) / (\pi x) for any value of x. @@ -95,4 +95,4 @@ function sf_sinc_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_sinc_e +Compat.@dep_vectorize_1arg Number sf_sinc_e diff --git a/src/_7_31_2_Trigonometric_Functions_for_Complex_Arguments.jl b/src/_7_31_2_Trigonometric_Functions_for_Complex_Arguments.jl index 42d0fda..4afd230 100644 --- a/src/_7_31_2_Trigonometric_Functions_for_Complex_Arguments.jl +++ b/src/_7_31_2_Trigonometric_Functions_for_Complex_Arguments.jl @@ -19,7 +19,7 @@ function sf_complex_sin_e(zr::Real, zi::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return szr[], szi[] end -@vectorize_2arg Number sf_complex_sin_e +Compat.@dep_vectorize_2arg Number sf_complex_sin_e # This function computes the complex cosine, \cos(z_r + i z_i) storing the real @@ -34,7 +34,7 @@ function sf_complex_cos_e(zr::Real, zi::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return czr[], czi[] end -@vectorize_2arg Number sf_complex_cos_e +Compat.@dep_vectorize_2arg Number sf_complex_cos_e # This function computes the logarithm of the complex sine, \log(\sin(z_r + i @@ -49,4 +49,4 @@ function sf_complex_logsin_e(zr::Real, zi::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return lszr[], lszi[] end -@vectorize_2arg Number sf_complex_logsin_e +Compat.@dep_vectorize_2arg Number sf_complex_logsin_e diff --git a/src/_7_31_3_Hyperbolic_Trigonometric_Functions.jl b/src/_7_31_3_Hyperbolic_Trigonometric_Functions.jl index 080f9cf..2ea5a79 100644 --- a/src/_7_31_3_Hyperbolic_Trigonometric_Functions.jl +++ b/src/_7_31_3_Hyperbolic_Trigonometric_Functions.jl @@ -13,7 +13,7 @@ export sf_lnsinh, sf_lnsinh_e, sf_lncosh, sf_lncosh_e function sf_lnsinh(x::Real) ccall( (:gsl_sf_lnsinh, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_lnsinh +Compat.@dep_vectorize_1arg Number sf_lnsinh # These routines compute \log(\sinh(x)) for x > 0. @@ -26,7 +26,7 @@ function sf_lnsinh_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_lnsinh_e +Compat.@dep_vectorize_1arg Number sf_lnsinh_e # These routines compute \log(\cosh(x)) for any x. @@ -35,7 +35,7 @@ end function sf_lncosh(x::Real) ccall( (:gsl_sf_lncosh, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_lncosh +Compat.@dep_vectorize_1arg Number sf_lncosh # These routines compute \log(\cosh(x)) for any x. @@ -48,4 +48,4 @@ function sf_lncosh_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_lncosh_e +Compat.@dep_vectorize_1arg Number sf_lncosh_e diff --git a/src/_7_31_4_Conversion_Functions.jl b/src/_7_31_4_Conversion_Functions.jl index 637b161..7df3f1e 100644 --- a/src/_7_31_4_Conversion_Functions.jl +++ b/src/_7_31_4_Conversion_Functions.jl @@ -19,7 +19,7 @@ function sf_polar_to_rect(r::Real, theta::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return x[], y[] end -@vectorize_2arg Number sf_polar_to_rect +Compat.@dep_vectorize_2arg Number sf_polar_to_rect # This function converts the rectilinear coordinates (x,y) to polar coordinates @@ -35,4 +35,4 @@ function sf_rect_to_polar(x::Real, y::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return r[], theta[] end -@vectorize_2arg Number sf_rect_to_polar +Compat.@dep_vectorize_2arg Number sf_rect_to_polar diff --git a/src/_7_31_5_Restriction_Functions.jl b/src/_7_31_5_Restriction_Functions.jl index 618c568..89236c7 100644 --- a/src/_7_31_5_Restriction_Functions.jl +++ b/src/_7_31_5_Restriction_Functions.jl @@ -17,7 +17,7 @@ function sf_angle_restrict_symm(theta::Real) ccall( (:gsl_sf_angle_restrict_symm, libgsl), Cdouble, (Cdouble, ), theta ) end -@vectorize_1arg Number sf_angle_restrict_symm +Compat.@dep_vectorize_1arg Number sf_angle_restrict_symm # These routines force the angle theta to lie in the range (-\pi,\pi]. @@ -43,7 +43,7 @@ function sf_angle_restrict_pos(theta::Real) ccall( (:gsl_sf_angle_restrict_pos, libgsl), Cdouble, (Cdouble, ), theta ) end -@vectorize_1arg Number sf_angle_restrict_pos +Compat.@dep_vectorize_1arg Number sf_angle_restrict_pos # These routines force the angle theta to lie in the range [0, 2\pi). diff --git a/src/_7_31_6_Trigonometric_Functions_With_Error_Estimates.jl b/src/_7_31_6_Trigonometric_Functions_With_Error_Estimates.jl index 7d66287..8adb717 100644 --- a/src/_7_31_6_Trigonometric_Functions_With_Error_Estimates.jl +++ b/src/_7_31_6_Trigonometric_Functions_With_Error_Estimates.jl @@ -19,7 +19,7 @@ function sf_sin_err_e(x::Real, dx::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_sin_err_e +Compat.@dep_vectorize_2arg Number sf_sin_err_e # This routine computes the cosine of an angle x with an associated absolute @@ -34,4 +34,4 @@ function sf_cos_err_e(x::Real, dx::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_cos_err_e +Compat.@dep_vectorize_2arg Number sf_cos_err_e diff --git a/src/_7_32_1_Riemann_Zeta_Function.jl b/src/_7_32_1_Riemann_Zeta_Function.jl index 5c6c1ec..b959d2c 100644 --- a/src/_7_32_1_Riemann_Zeta_Function.jl +++ b/src/_7_32_1_Riemann_Zeta_Function.jl @@ -14,7 +14,7 @@ export sf_zeta_int, sf_zeta_int_e, sf_zeta, sf_zeta_e function sf_zeta_int(n::Integer) ccall( (:gsl_sf_zeta_int, libgsl), Cdouble, (Cint, ), n ) end -@vectorize_1arg Number sf_zeta_int +Compat.@dep_vectorize_1arg Number sf_zeta_int # These routines compute the Riemann zeta function \zeta(n) for integer n, n @@ -28,7 +28,7 @@ function sf_zeta_int_e(n::Integer) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_zeta_int_e +Compat.@dep_vectorize_1arg Number sf_zeta_int_e # These routines compute the Riemann zeta function \zeta(s) for arbitrary s, s @@ -38,7 +38,7 @@ end function sf_zeta(s::Real) ccall( (:gsl_sf_zeta, libgsl), Cdouble, (Cdouble, ), s ) end -@vectorize_1arg Number sf_zeta +Compat.@dep_vectorize_1arg Number sf_zeta # These routines compute the Riemann zeta function \zeta(s) for arbitrary s, s @@ -52,4 +52,4 @@ function sf_zeta_e(s::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_zeta_e +Compat.@dep_vectorize_1arg Number sf_zeta_e diff --git a/src/_7_32_2_Riemann_Zeta_Function_Minus_One.jl b/src/_7_32_2_Riemann_Zeta_Function_Minus_One.jl index 4d54e64..ad1a98f 100644 --- a/src/_7_32_2_Riemann_Zeta_Function_Minus_One.jl +++ b/src/_7_32_2_Riemann_Zeta_Function_Minus_One.jl @@ -13,7 +13,7 @@ export sf_zetam1_int, sf_zetam1_int_e, sf_zetam1, sf_zetam1_e function sf_zetam1_int(n::Integer) ccall( (:gsl_sf_zetam1_int, libgsl), Cdouble, (Cint, ), n ) end -@vectorize_1arg Number sf_zetam1_int +Compat.@dep_vectorize_1arg Number sf_zetam1_int # These routines compute \zeta(n) - 1 for integer n, n \ne 1. @@ -26,7 +26,7 @@ function sf_zetam1_int_e(n::Integer) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_zetam1_int_e +Compat.@dep_vectorize_1arg Number sf_zetam1_int_e # These routines compute \zeta(s) - 1 for arbitrary s, s \ne 1. @@ -35,7 +35,7 @@ end function sf_zetam1(s::Real) ccall( (:gsl_sf_zetam1, libgsl), Cdouble, (Cdouble, ), s ) end -@vectorize_1arg Number sf_zetam1 +Compat.@dep_vectorize_1arg Number sf_zetam1 # These routines compute \zeta(s) - 1 for arbitrary s, s \ne 1. @@ -48,4 +48,4 @@ function sf_zetam1_e(s::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_zetam1_e +Compat.@dep_vectorize_1arg Number sf_zetam1_e diff --git a/src/_7_32_3_Hurwitz_Zeta_Function.jl b/src/_7_32_3_Hurwitz_Zeta_Function.jl index 6e31d59..3969651 100644 --- a/src/_7_32_3_Hurwitz_Zeta_Function.jl +++ b/src/_7_32_3_Hurwitz_Zeta_Function.jl @@ -13,7 +13,7 @@ export sf_hzeta, sf_hzeta_e function sf_hzeta(s::Real, q::Real) ccall( (:gsl_sf_hzeta, libgsl), Cdouble, (Cdouble, Cdouble), s, q ) end -@vectorize_2arg Number sf_hzeta +Compat.@dep_vectorize_2arg Number sf_hzeta # These routines compute the Hurwitz zeta function \zeta(s,q) for s > 1, q > 0. @@ -26,4 +26,4 @@ function sf_hzeta_e(s::Real, q::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_hzeta_e +Compat.@dep_vectorize_2arg Number sf_hzeta_e diff --git a/src/_7_32_4_Eta_Function.jl b/src/_7_32_4_Eta_Function.jl index 970456a..9a8db63 100644 --- a/src/_7_32_4_Eta_Function.jl +++ b/src/_7_32_4_Eta_Function.jl @@ -13,7 +13,7 @@ export sf_eta_int, sf_eta_int_e, sf_eta, sf_eta_e function sf_eta_int(n::Integer) ccall( (:gsl_sf_eta_int, libgsl), Cdouble, (Cint, ), n ) end -@vectorize_1arg Number sf_eta_int +Compat.@dep_vectorize_1arg Number sf_eta_int # These routines compute the eta function \eta(n) for integer n. @@ -26,7 +26,7 @@ function sf_eta_int_e(n::Integer) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_eta_int_e +Compat.@dep_vectorize_1arg Number sf_eta_int_e # These routines compute the eta function \eta(s) for arbitrary s. @@ -35,7 +35,7 @@ end function sf_eta(s::Real) ccall( (:gsl_sf_eta, libgsl), Cdouble, (Cdouble, ), s ) end -@vectorize_1arg Number sf_eta +Compat.@dep_vectorize_1arg Number sf_eta # These routines compute the eta function \eta(s) for arbitrary s. @@ -48,4 +48,4 @@ function sf_eta_e(s::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_eta_e +Compat.@dep_vectorize_1arg Number sf_eta_e diff --git a/src/_7_4_3_Zeros_of_Airy_Functions.jl b/src/_7_4_3_Zeros_of_Airy_Functions.jl index bbbc3da..9561c13 100644 --- a/src/_7_4_3_Zeros_of_Airy_Functions.jl +++ b/src/_7_4_3_Zeros_of_Airy_Functions.jl @@ -14,7 +14,7 @@ export sf_airy_zero_Ai, sf_airy_zero_Ai_e, sf_airy_zero_Bi, sf_airy_zero_Bi_e function sf_airy_zero_Ai(s::Integer) ccall( (:gsl_sf_airy_zero_Ai, libgsl), Cdouble, (Cuint, ), s ) end -@vectorize_1arg Number sf_airy_zero_Ai +Compat.@dep_vectorize_1arg Number sf_airy_zero_Ai # These routines compute the location of the s-th zero of the Airy function @@ -28,7 +28,7 @@ function sf_airy_zero_Ai_e(s::Integer) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_airy_zero_Ai_e +Compat.@dep_vectorize_1arg Number sf_airy_zero_Ai_e # These routines compute the location of the s-th zero of the Airy function @@ -38,7 +38,7 @@ end function sf_airy_zero_Bi(s::Integer) ccall( (:gsl_sf_airy_zero_Bi, libgsl), Cdouble, (Cuint, ), s ) end -@vectorize_1arg Number sf_airy_zero_Bi +Compat.@dep_vectorize_1arg Number sf_airy_zero_Bi # These routines compute the location of the s-th zero of the Airy function @@ -52,4 +52,4 @@ function sf_airy_zero_Bi_e(s::Integer) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_airy_zero_Bi_e +Compat.@dep_vectorize_1arg Number sf_airy_zero_Bi_e diff --git a/src/_7_4_4_Zeros_of_Derivatives_of_Airy_Functions.jl b/src/_7_4_4_Zeros_of_Derivatives_of_Airy_Functions.jl index 57756e2..82639ff 100644 --- a/src/_7_4_4_Zeros_of_Derivatives_of_Airy_Functions.jl +++ b/src/_7_4_4_Zeros_of_Derivatives_of_Airy_Functions.jl @@ -15,7 +15,7 @@ export sf_airy_zero_Ai_deriv, sf_airy_zero_Ai_deriv_e, sf_airy_zero_Bi_deriv, function sf_airy_zero_Ai_deriv(s::Integer) ccall( (:gsl_sf_airy_zero_Ai_deriv, libgsl), Cdouble, (Cuint, ), s ) end -@vectorize_1arg Number sf_airy_zero_Ai_deriv +Compat.@dep_vectorize_1arg Number sf_airy_zero_Ai_deriv # These routines compute the location of the s-th zero of the Airy function @@ -29,7 +29,7 @@ function sf_airy_zero_Ai_deriv_e(s::Integer) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_airy_zero_Ai_deriv_e +Compat.@dep_vectorize_1arg Number sf_airy_zero_Ai_deriv_e # These routines compute the location of the s-th zero of the Airy function @@ -39,7 +39,7 @@ end function sf_airy_zero_Bi_deriv(s::Integer) ccall( (:gsl_sf_airy_zero_Bi_deriv, libgsl), Cdouble, (Cuint, ), s ) end -@vectorize_1arg Number sf_airy_zero_Bi_deriv +Compat.@dep_vectorize_1arg Number sf_airy_zero_Bi_deriv # These routines compute the location of the s-th zero of the Airy function @@ -53,4 +53,4 @@ function sf_airy_zero_Bi_deriv_e(s::Integer) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_airy_zero_Bi_deriv_e +Compat.@dep_vectorize_1arg Number sf_airy_zero_Bi_deriv_e diff --git a/src/_7_5_10_Irregular_Bessel_FunctionsFractional_Order.jl b/src/_7_5_10_Irregular_Bessel_FunctionsFractional_Order.jl index a1965c8..805d27f 100644 --- a/src/_7_5_10_Irregular_Bessel_FunctionsFractional_Order.jl +++ b/src/_7_5_10_Irregular_Bessel_FunctionsFractional_Order.jl @@ -15,7 +15,7 @@ function sf_bessel_Ynu(nu::Real, x::Real) ccall( (:gsl_sf_bessel_Ynu, libgsl), Cdouble, (Cdouble, Cdouble), nu, x ) end -@vectorize_2arg Number sf_bessel_Ynu +Compat.@dep_vectorize_2arg Number sf_bessel_Ynu # These routines compute the irregular cylindrical Bessel function of @@ -29,4 +29,4 @@ function sf_bessel_Ynu_e(nu::Real, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_bessel_Ynu_e +Compat.@dep_vectorize_2arg Number sf_bessel_Ynu_e diff --git a/src/_7_5_11_Regular_Modified_Bessel_FunctionsFractional_Order.jl b/src/_7_5_11_Regular_Modified_Bessel_FunctionsFractional_Order.jl index 32a2fac..7737e40 100644 --- a/src/_7_5_11_Regular_Modified_Bessel_FunctionsFractional_Order.jl +++ b/src/_7_5_11_Regular_Modified_Bessel_FunctionsFractional_Order.jl @@ -16,7 +16,7 @@ function sf_bessel_Inu(nu::Real, x::Real) ccall( (:gsl_sf_bessel_Inu, libgsl), Cdouble, (Cdouble, Cdouble), nu, x ) end -@vectorize_2arg Number sf_bessel_Inu +Compat.@dep_vectorize_2arg Number sf_bessel_Inu # These routines compute the regular modified Bessel function of fractional @@ -30,7 +30,7 @@ function sf_bessel_Inu_e(nu::Real, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_bessel_Inu_e +Compat.@dep_vectorize_2arg Number sf_bessel_Inu_e # These routines compute the scaled regular modified Bessel function of @@ -41,7 +41,7 @@ function sf_bessel_Inu_scaled(nu::Real, x::Real) ccall( (:gsl_sf_bessel_Inu_scaled, libgsl), Cdouble, (Cdouble, Cdouble), nu, x ) end -@vectorize_2arg Number sf_bessel_Inu_scaled +Compat.@dep_vectorize_2arg Number sf_bessel_Inu_scaled # These routines compute the scaled regular modified Bessel function of @@ -55,4 +55,4 @@ function sf_bessel_Inu_scaled_e(nu::Real, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_bessel_Inu_scaled_e +Compat.@dep_vectorize_2arg Number sf_bessel_Inu_scaled_e diff --git a/src/_7_5_12_Irregular_Modified_Bessel_FunctionsFractional_Order.jl b/src/_7_5_12_Irregular_Modified_Bessel_FunctionsFractional_Order.jl index 70a3b5c..3f4b7b6 100644 --- a/src/_7_5_12_Irregular_Modified_Bessel_FunctionsFractional_Order.jl +++ b/src/_7_5_12_Irregular_Modified_Bessel_FunctionsFractional_Order.jl @@ -16,7 +16,7 @@ function sf_bessel_Knu(nu::Real, x::Real) ccall( (:gsl_sf_bessel_Knu, libgsl), Cdouble, (Cdouble, Cdouble), nu, x ) end -@vectorize_2arg Number sf_bessel_Knu +Compat.@dep_vectorize_2arg Number sf_bessel_Knu # These routines compute the irregular modified Bessel function of fractional @@ -30,7 +30,7 @@ function sf_bessel_Knu_e(nu::Real, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_bessel_Knu_e +Compat.@dep_vectorize_2arg Number sf_bessel_Knu_e # These routines compute the logarithm of the irregular modified Bessel @@ -41,7 +41,7 @@ function sf_bessel_lnKnu(nu::Real, x::Real) ccall( (:gsl_sf_bessel_lnKnu, libgsl), Cdouble, (Cdouble, Cdouble), nu, x ) end -@vectorize_2arg Number sf_bessel_lnKnu +Compat.@dep_vectorize_2arg Number sf_bessel_lnKnu # These routines compute the logarithm of the irregular modified Bessel @@ -55,7 +55,7 @@ function sf_bessel_lnKnu_e(nu::Real, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_bessel_lnKnu_e +Compat.@dep_vectorize_2arg Number sf_bessel_lnKnu_e # These routines compute the scaled irregular modified Bessel function of @@ -66,7 +66,7 @@ function sf_bessel_Knu_scaled(nu::Real, x::Real) ccall( (:gsl_sf_bessel_Knu_scaled, libgsl), Cdouble, (Cdouble, Cdouble), nu, x ) end -@vectorize_2arg Number sf_bessel_Knu_scaled +Compat.@dep_vectorize_2arg Number sf_bessel_Knu_scaled # These routines compute the scaled irregular modified Bessel function of @@ -80,4 +80,4 @@ function sf_bessel_Knu_scaled_e(nu::Real, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_bessel_Knu_scaled_e +Compat.@dep_vectorize_2arg Number sf_bessel_Knu_scaled_e diff --git a/src/_7_5_13_Zeros_of_Regular_Bessel_Functions.jl b/src/_7_5_13_Zeros_of_Regular_Bessel_Functions.jl index d9db126..e3876d4 100644 --- a/src/_7_5_13_Zeros_of_Regular_Bessel_Functions.jl +++ b/src/_7_5_13_Zeros_of_Regular_Bessel_Functions.jl @@ -15,7 +15,7 @@ export sf_bessel_zero_J0, sf_bessel_zero_J0_e, sf_bessel_zero_J1, function sf_bessel_zero_J0(s::Integer) ccall( (:gsl_sf_bessel_zero_J0, libgsl), Cdouble, (Cuint, ), s ) end -@vectorize_1arg Number sf_bessel_zero_J0 +Compat.@dep_vectorize_1arg Number sf_bessel_zero_J0 # These routines compute the location of the s-th positive zero of the Bessel @@ -29,7 +29,7 @@ function sf_bessel_zero_J0_e(s::Integer) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_bessel_zero_J0_e +Compat.@dep_vectorize_1arg Number sf_bessel_zero_J0_e # These routines compute the location of the s-th positive zero of the Bessel @@ -39,7 +39,7 @@ end function sf_bessel_zero_J1(s::Integer) ccall( (:gsl_sf_bessel_zero_J1, libgsl), Cdouble, (Cuint, ), s ) end -@vectorize_1arg Number sf_bessel_zero_J1 +Compat.@dep_vectorize_1arg Number sf_bessel_zero_J1 # These routines compute the location of the s-th positive zero of the Bessel @@ -53,7 +53,7 @@ function sf_bessel_zero_J1_e(s::Integer) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_bessel_zero_J1_e +Compat.@dep_vectorize_1arg Number sf_bessel_zero_J1_e # These routines compute the location of the s-th positive zero of the Bessel @@ -65,7 +65,7 @@ function sf_bessel_zero_Jnu(nu::Real, s::Integer) ccall( (:gsl_sf_bessel_zero_Jnu, libgsl), Cdouble, (Cdouble, Cuint), nu, s ) end -@vectorize_2arg Number sf_bessel_zero_Jnu +Compat.@dep_vectorize_2arg Number sf_bessel_zero_Jnu # These routines compute the location of the s-th positive zero of the Bessel @@ -80,4 +80,4 @@ function sf_bessel_zero_Jnu_e(nu::Real, s::Integer) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_bessel_zero_Jnu_e +Compat.@dep_vectorize_2arg Number sf_bessel_zero_Jnu_e diff --git a/src/_7_5_1_Regular_Cylindrical_Bessel_Functions.jl b/src/_7_5_1_Regular_Cylindrical_Bessel_Functions.jl index 850711a..6f79b76 100644 --- a/src/_7_5_1_Regular_Cylindrical_Bessel_Functions.jl +++ b/src/_7_5_1_Regular_Cylindrical_Bessel_Functions.jl @@ -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 @@ -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 @@ -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 @@ -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, @@ -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, @@ -77,7 +77,7 @@ 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 # This routine computes the values of the regular cylindrical Bessel functions @@ -93,5 +93,3 @@ function sf_bessel_Jn_array(nmin::Integer, nmax::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result_array[][1] end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number sf_bessel_Jn_array diff --git a/src/_7_5_2_Irregular_Cylindrical_Bessel_Functions.jl b/src/_7_5_2_Irregular_Cylindrical_Bessel_Functions.jl index 0999f9a..073e8a4 100644 --- a/src/_7_5_2_Irregular_Cylindrical_Bessel_Functions.jl +++ b/src/_7_5_2_Irregular_Cylindrical_Bessel_Functions.jl @@ -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 @@ -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 @@ -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 @@ -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, @@ -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, @@ -77,7 +77,7 @@ 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 # This routine computes the values of the irregular cylindrical Bessel @@ -94,5 +94,3 @@ function sf_bessel_Yn_array(nmin::Integer, nmax::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result_array[][1] end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number sf_bessel_Yn_array diff --git a/src/_7_5_3_Regular_Modified_Cylindrical_Bessel_Functions.jl b/src/_7_5_3_Regular_Modified_Cylindrical_Bessel_Functions.jl index 3c0cee6..719d031 100644 --- a/src/_7_5_3_Regular_Modified_Cylindrical_Bessel_Functions.jl +++ b/src/_7_5_3_Regular_Modified_Cylindrical_Bessel_Functions.jl @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 # This routine computes the values of the regular modified cylindrical Bessel @@ -96,8 +96,6 @@ function sf_bessel_In_array(nmin::Integer, nmax::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result_array[][1] end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number sf_bessel_In_array # These routines compute the scaled regular modified cylindrical Bessel @@ -107,7 +105,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 @@ -121,7 +119,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 @@ -131,7 +129,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 @@ -145,7 +143,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 @@ -156,7 +154,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 @@ -170,7 +168,7 @@ 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 # This routine computes the values of the scaled regular cylindrical Bessel @@ -187,5 +185,3 @@ function sf_bessel_In_scaled_array(nmin::Integer, nmax::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result_array[][1] end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number sf_bessel_In_scaled_array diff --git a/src/_7_5_4_Irregular_Modified_Cylindrical_Bessel_Functions.jl b/src/_7_5_4_Irregular_Modified_Cylindrical_Bessel_Functions.jl index 8de0a2a..9cbec2a 100644 --- a/src/_7_5_4_Irregular_Modified_Cylindrical_Bessel_Functions.jl +++ b/src/_7_5_4_Irregular_Modified_Cylindrical_Bessel_Functions.jl @@ -17,7 +17,7 @@ export sf_bessel_K0, sf_bessel_K0_e, sf_bessel_K1, sf_bessel_K1_e, function sf_bessel_K0(x::Real) ccall( (:gsl_sf_bessel_K0, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_bessel_K0 +Compat.@dep_vectorize_1arg Number sf_bessel_K0 # These routines compute the irregular modified cylindrical Bessel function of @@ -31,7 +31,7 @@ function sf_bessel_K0_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_bessel_K0_e +Compat.@dep_vectorize_1arg Number sf_bessel_K0_e # These routines compute the irregular modified cylindrical Bessel function of @@ -41,7 +41,7 @@ end function sf_bessel_K1(x::Real) ccall( (:gsl_sf_bessel_K1, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_bessel_K1 +Compat.@dep_vectorize_1arg Number sf_bessel_K1 # These routines compute the irregular modified cylindrical Bessel function of @@ -55,7 +55,7 @@ function sf_bessel_K1_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_bessel_K1_e +Compat.@dep_vectorize_1arg Number sf_bessel_K1_e # These routines compute the irregular modified cylindrical Bessel function of @@ -65,7 +65,7 @@ end function sf_bessel_Kn(n::Integer, x::Real) ccall( (:gsl_sf_bessel_Kn, libgsl), Cdouble, (Cint, Cdouble), n, x ) end -@vectorize_2arg Number sf_bessel_Kn +Compat.@dep_vectorize_2arg Number sf_bessel_Kn # These routines compute the irregular modified cylindrical Bessel function of @@ -79,7 +79,7 @@ function sf_bessel_Kn_e(n::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_bessel_Kn_e +Compat.@dep_vectorize_2arg Number sf_bessel_Kn_e # This routine computes the values of the irregular modified cylindrical Bessel @@ -97,8 +97,6 @@ function sf_bessel_Kn_array(nmin::Integer, nmax::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result_array[][1] end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number sf_bessel_Kn_array # These routines compute the scaled irregular modified cylindrical Bessel @@ -108,7 +106,7 @@ end function sf_bessel_K0_scaled(x::Real) ccall( (:gsl_sf_bessel_K0_scaled, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_bessel_K0_scaled +Compat.@dep_vectorize_1arg Number sf_bessel_K0_scaled # These routines compute the scaled irregular modified cylindrical Bessel @@ -122,7 +120,7 @@ function sf_bessel_K0_scaled_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_bessel_K0_scaled_e +Compat.@dep_vectorize_1arg Number sf_bessel_K0_scaled_e # These routines compute the scaled irregular modified cylindrical Bessel @@ -132,7 +130,7 @@ end function sf_bessel_K1_scaled(x::Real) ccall( (:gsl_sf_bessel_K1_scaled, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_bessel_K1_scaled +Compat.@dep_vectorize_1arg Number sf_bessel_K1_scaled # These routines compute the scaled irregular modified cylindrical Bessel @@ -146,7 +144,7 @@ function sf_bessel_K1_scaled_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_bessel_K1_scaled_e +Compat.@dep_vectorize_1arg Number sf_bessel_K1_scaled_e # These routines compute the scaled irregular modified cylindrical Bessel @@ -157,7 +155,7 @@ function sf_bessel_Kn_scaled(n::Integer, x::Real) ccall( (:gsl_sf_bessel_Kn_scaled, libgsl), Cdouble, (Cint, Cdouble), n, x ) end -@vectorize_2arg Number sf_bessel_Kn_scaled +Compat.@dep_vectorize_2arg Number sf_bessel_Kn_scaled # These routines compute the scaled irregular modified cylindrical Bessel @@ -171,7 +169,7 @@ function sf_bessel_Kn_scaled_e(n::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_bessel_Kn_scaled_e +Compat.@dep_vectorize_2arg Number sf_bessel_Kn_scaled_e # This routine computes the values of the scaled irregular cylindrical Bessel @@ -189,5 +187,3 @@ function sf_bessel_Kn_scaled_array(nmin::Integer, nmax::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result_array[][1] end -#TODO This vectorization macro is not implemented -#@vectorize_3arg Number sf_bessel_Kn_scaled_array diff --git a/src/_7_5_5_Regular_Spherical_Bessel_Functions.jl b/src/_7_5_5_Regular_Spherical_Bessel_Functions.jl index 2b58e27..5e0d0a8 100644 --- a/src/_7_5_5_Regular_Spherical_Bessel_Functions.jl +++ b/src/_7_5_5_Regular_Spherical_Bessel_Functions.jl @@ -16,7 +16,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 spherical Bessel function of zeroth order, @@ -30,7 +30,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 spherical Bessel function of first order, @@ -40,7 +40,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 spherical Bessel function of first order, @@ -54,7 +54,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 spherical Bessel function of second order, @@ -64,7 +64,7 @@ end function sf_bessel_j2(x::Real) ccall( (:gsl_sf_bessel_j2, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_bessel_j2 +Compat.@dep_vectorize_1arg Number sf_bessel_j2 # These routines compute the regular spherical Bessel function of second order, @@ -78,7 +78,7 @@ function sf_bessel_j2_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_bessel_j2_e +Compat.@dep_vectorize_1arg Number sf_bessel_j2_e # These routines compute the regular spherical Bessel function of order l, @@ -88,7 +88,7 @@ end function sf_bessel_jl(l::Integer, x::Real) ccall( (:gsl_sf_bessel_jl, libgsl), Cdouble, (Cint, Cdouble), l, x ) end -@vectorize_2arg Number sf_bessel_jl +Compat.@dep_vectorize_2arg Number sf_bessel_jl # These routines compute the regular spherical Bessel function of order l, @@ -102,7 +102,7 @@ function sf_bessel_jl_e(l::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_bessel_jl_e +Compat.@dep_vectorize_2arg Number sf_bessel_jl_e # This routine computes the values of the regular spherical Bessel functions @@ -119,7 +119,7 @@ function sf_bessel_jl_array(lmax::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result_array[][1] end -@vectorize_2arg Number sf_bessel_jl_array +Compat.@dep_vectorize_2arg Number sf_bessel_jl_array # This routine uses Steed's method to compute the values of the regular @@ -137,4 +137,4 @@ function sf_bessel_jl_steed_array(lmax::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result_array[] end -@vectorize_2arg Number sf_bessel_jl_steed_array +Compat.@dep_vectorize_2arg Number sf_bessel_jl_steed_array diff --git a/src/_7_5_6_Irregular_Spherical_Bessel_Functions.jl b/src/_7_5_6_Irregular_Spherical_Bessel_Functions.jl index 6ae1e8e..d8aff44 100644 --- a/src/_7_5_6_Irregular_Spherical_Bessel_Functions.jl +++ b/src/_7_5_6_Irregular_Spherical_Bessel_Functions.jl @@ -16,7 +16,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 spherical Bessel function of zeroth @@ -30,7 +30,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 spherical Bessel function of first @@ -40,7 +40,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 spherical Bessel function of first @@ -54,7 +54,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 spherical Bessel function of second @@ -64,7 +64,7 @@ end function sf_bessel_y2(x::Real) ccall( (:gsl_sf_bessel_y2, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_bessel_y2 +Compat.@dep_vectorize_1arg Number sf_bessel_y2 # These routines compute the irregular spherical Bessel function of second @@ -78,7 +78,7 @@ function sf_bessel_y2_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_bessel_y2_e +Compat.@dep_vectorize_1arg Number sf_bessel_y2_e # These routines compute the irregular spherical Bessel function of order l, @@ -88,7 +88,7 @@ end function sf_bessel_yl(l::Integer, x::Real) ccall( (:gsl_sf_bessel_yl, libgsl), Cdouble, (Cint, Cdouble), l, x ) end -@vectorize_2arg Number sf_bessel_yl +Compat.@dep_vectorize_2arg Number sf_bessel_yl # These routines compute the irregular spherical Bessel function of order l, @@ -102,7 +102,7 @@ function sf_bessel_yl_e(l::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_bessel_yl_e +Compat.@dep_vectorize_2arg Number sf_bessel_yl_e # This routine computes the values of the irregular spherical Bessel functions @@ -118,4 +118,4 @@ function sf_bessel_yl_array(lmax::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result_array[][1] end -@vectorize_2arg Number sf_bessel_yl_array +Compat.@dep_vectorize_2arg Number sf_bessel_yl_array diff --git a/src/_7_5_7_Regular_Modified_Spherical_Bessel_Functions.jl b/src/_7_5_7_Regular_Modified_Spherical_Bessel_Functions.jl index e68b3a3..44c1247 100644 --- a/src/_7_5_7_Regular_Modified_Spherical_Bessel_Functions.jl +++ b/src/_7_5_7_Regular_Modified_Spherical_Bessel_Functions.jl @@ -16,7 +16,7 @@ export sf_bessel_i0_scaled, sf_bessel_i0_scaled_e, sf_bessel_i1_scaled, 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 spherical Bessel function @@ -30,7 +30,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 spherical Bessel function @@ -40,7 +40,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 spherical Bessel function @@ -54,7 +54,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 spherical Bessel function @@ -64,7 +64,7 @@ end function sf_bessel_i2_scaled(x::Real) ccall( (:gsl_sf_bessel_i2_scaled, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_bessel_i2_scaled +Compat.@dep_vectorize_1arg Number sf_bessel_i2_scaled # These routines compute the scaled regular modified spherical Bessel function @@ -78,7 +78,7 @@ function sf_bessel_i2_scaled_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_bessel_i2_scaled_e +Compat.@dep_vectorize_1arg Number sf_bessel_i2_scaled_e # These routines compute the scaled regular modified spherical Bessel function @@ -89,7 +89,7 @@ function sf_bessel_il_scaled(l::Integer, x::Real) ccall( (:gsl_sf_bessel_il_scaled, libgsl), Cdouble, (Cint, Cdouble), l, x ) end -@vectorize_2arg Number sf_bessel_il_scaled +Compat.@dep_vectorize_2arg Number sf_bessel_il_scaled # These routines compute the scaled regular modified spherical Bessel function @@ -103,7 +103,7 @@ function sf_bessel_il_scaled_e(l::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_bessel_il_scaled_e +Compat.@dep_vectorize_2arg Number sf_bessel_il_scaled_e # This routine computes the values of the scaled regular modified cylindrical @@ -120,4 +120,4 @@ function sf_bessel_il_scaled_array(lmax::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result_array[][1] end -@vectorize_2arg Number sf_bessel_il_scaled_array +Compat.@dep_vectorize_2arg Number sf_bessel_il_scaled_array diff --git a/src/_7_5_8_Irregular_Modified_Spherical_Bessel_Functions.jl b/src/_7_5_8_Irregular_Modified_Spherical_Bessel_Functions.jl index 77726df..8e37972 100644 --- a/src/_7_5_8_Irregular_Modified_Spherical_Bessel_Functions.jl +++ b/src/_7_5_8_Irregular_Modified_Spherical_Bessel_Functions.jl @@ -16,7 +16,7 @@ export sf_bessel_k0_scaled, sf_bessel_k0_scaled_e, sf_bessel_k1_scaled, function sf_bessel_k0_scaled(x::Real) ccall( (:gsl_sf_bessel_k0_scaled, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_bessel_k0_scaled +Compat.@dep_vectorize_1arg Number sf_bessel_k0_scaled # These routines compute the scaled irregular modified spherical Bessel @@ -30,7 +30,7 @@ function sf_bessel_k0_scaled_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_bessel_k0_scaled_e +Compat.@dep_vectorize_1arg Number sf_bessel_k0_scaled_e # These routines compute the scaled irregular modified spherical Bessel @@ -40,7 +40,7 @@ end function sf_bessel_k1_scaled(x::Real) ccall( (:gsl_sf_bessel_k1_scaled, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_bessel_k1_scaled +Compat.@dep_vectorize_1arg Number sf_bessel_k1_scaled # These routines compute the scaled irregular modified spherical Bessel @@ -54,7 +54,7 @@ function sf_bessel_k1_scaled_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_bessel_k1_scaled_e +Compat.@dep_vectorize_1arg Number sf_bessel_k1_scaled_e # These routines compute the scaled irregular modified spherical Bessel @@ -64,7 +64,7 @@ end function sf_bessel_k2_scaled(x::Real) ccall( (:gsl_sf_bessel_k2_scaled, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_bessel_k2_scaled +Compat.@dep_vectorize_1arg Number sf_bessel_k2_scaled # These routines compute the scaled irregular modified spherical Bessel @@ -78,7 +78,7 @@ function sf_bessel_k2_scaled_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_bessel_k2_scaled_e +Compat.@dep_vectorize_1arg Number sf_bessel_k2_scaled_e # These routines compute the scaled irregular modified spherical Bessel @@ -89,7 +89,7 @@ function sf_bessel_kl_scaled(l::Integer, x::Real) ccall( (:gsl_sf_bessel_kl_scaled, libgsl), Cdouble, (Cint, Cdouble), l, x ) end -@vectorize_2arg Number sf_bessel_kl_scaled +Compat.@dep_vectorize_2arg Number sf_bessel_kl_scaled # These routines compute the scaled irregular modified spherical Bessel @@ -103,7 +103,7 @@ function sf_bessel_kl_scaled_e(l::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_bessel_kl_scaled_e +Compat.@dep_vectorize_2arg Number sf_bessel_kl_scaled_e # This routine computes the values of the scaled irregular modified spherical @@ -120,4 +120,4 @@ function sf_bessel_kl_scaled_array(lmax::Integer, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result_array[][1] end -@vectorize_2arg Number sf_bessel_kl_scaled_array +Compat.@dep_vectorize_2arg Number sf_bessel_kl_scaled_array diff --git a/src/_7_5_9_Regular_Bessel_FunctionFractional_Order.jl b/src/_7_5_9_Regular_Bessel_FunctionFractional_Order.jl index 0db206a..1cbeea6 100644 --- a/src/_7_5_9_Regular_Bessel_FunctionFractional_Order.jl +++ b/src/_7_5_9_Regular_Bessel_FunctionFractional_Order.jl @@ -15,7 +15,7 @@ function sf_bessel_Jnu(nu::Real, x::Real) ccall( (:gsl_sf_bessel_Jnu, libgsl), Cdouble, (Cdouble, Cdouble), nu, x ) end -@vectorize_2arg Number sf_bessel_Jnu +Compat.@dep_vectorize_2arg Number sf_bessel_Jnu # These routines compute the regular cylindrical Bessel function of fractional @@ -29,7 +29,7 @@ function sf_bessel_Jnu_e(nu::Real, x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_bessel_Jnu_e +Compat.@dep_vectorize_2arg Number sf_bessel_Jnu_e # This function computes the regular cylindrical Bessel function of fractional diff --git a/src/_7_6_Clausen_Functions.jl b/src/_7_6_Clausen_Functions.jl index 1f1d59b..2e3a616 100644 --- a/src/_7_6_Clausen_Functions.jl +++ b/src/_7_6_Clausen_Functions.jl @@ -15,7 +15,7 @@ export sf_clausen, sf_clausen_e function sf_clausen(x::Real) ccall( (:gsl_sf_clausen, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_clausen +Compat.@dep_vectorize_1arg Number sf_clausen # These routines compute the Clausen integral Cl_2(x). @@ -28,4 +28,4 @@ function sf_clausen_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_clausen_e +Compat.@dep_vectorize_1arg Number sf_clausen_e diff --git a/src/_7_7_1_Normalized_Hydrogenic_Bound_States.jl b/src/_7_7_1_Normalized_Hydrogenic_Bound_States.jl index 1a20665..ec5b1cb 100644 --- a/src/_7_7_1_Normalized_Hydrogenic_Bound_States.jl +++ b/src/_7_7_1_Normalized_Hydrogenic_Bound_States.jl @@ -17,7 +17,7 @@ function sf_hydrogenicR_1(Z::Real, r::Real) ccall( (:gsl_sf_hydrogenicR_1, libgsl), Cdouble, (Cdouble, Cdouble), Z, r ) end -@vectorize_2arg Number sf_hydrogenicR_1 +Compat.@dep_vectorize_2arg Number sf_hydrogenicR_1 # These routines compute the lowest-order normalized hydrogenic bound state @@ -31,7 +31,7 @@ function sf_hydrogenicR_1_e(Z::Real, r::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_hydrogenicR_1_e +Compat.@dep_vectorize_2arg Number sf_hydrogenicR_1_e # These routines compute the n-th normalized hydrogenic bound state radial @@ -46,8 +46,6 @@ function sf_hydrogenicR(n::Integer, l::Integer, Z::Real, r::Real) ccall( (:gsl_sf_hydrogenicR, libgsl), Cdouble, (Cint, Cint, Cdouble, Cdouble), n, l, Z, r ) end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number sf_hydrogenicR # These routines compute the n-th normalized hydrogenic bound state radial @@ -65,5 +63,3 @@ function sf_hydrogenicR_e(n::Integer, l::Integer, Z::Real, r::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number sf_hydrogenicR_e diff --git a/src/_7_7_2_Coulomb_Wave_Functions.jl b/src/_7_7_2_Coulomb_Wave_Functions.jl index 3b1ea8a..48bc71b 100644 --- a/src/_7_7_2_Coulomb_Wave_Functions.jl +++ b/src/_7_7_2_Coulomb_Wave_Functions.jl @@ -33,8 +33,6 @@ function sf_coulomb_wave_FG_e(eta::Real, x::Real, L_F::Real, k::Integer) if errno!= 0 throw(GSL_ERROR(errno)) end return F[], Fp[], G[], Gp[], exp_F[], exp_G[] end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number sf_coulomb_wave_FG_e # This function computes the Coulomb wave function F_L(\eta,x) for L = Lmin @@ -47,8 +45,6 @@ function sf_coulomb_wave_F_array(L_min::Real, kmax::Integer, eta::Real, x::Real, Cint, Cdouble, Cdouble, Cdouble), L_min, kmax, eta, x, fc_array ) if errno!= 0 throw(GSL_ERROR(errno)) end end -#TODO This vectorization macro is not implemented -#@vectorize_5arg Number sf_coulomb_wave_F_array # This function computes the functions F_L(\eta,x), G_L(\eta,x) for L = Lmin @@ -62,8 +58,6 @@ function sf_coulomb_wave_FG_array(L_min::Real, kmax::Integer, eta::Real, x::Real fc_array ) if errno!= 0 throw(GSL_ERROR(errno)) end end -#TODO This vectorization macro is not implemented -#@vectorize_5arg Number sf_coulomb_wave_FG_array # This function computes the functions F_L(\eta,x), G_L(\eta,x) and their @@ -78,8 +72,6 @@ function sf_coulomb_wave_FGp_array(L_min::Real, kmax::Integer, eta::Real, x::Rea fc_array ) if errno!= 0 throw(GSL_ERROR(errno)) end end -#TODO This vectorization macro is not implemented -#@vectorize_5arg Number sf_coulomb_wave_FGp_array # This function computes the Coulomb wave function divided by the argument @@ -94,5 +86,3 @@ function sf_coulomb_wave_sphF_array(L_min::Real, kmax::Integer, eta::Real, x::Re fc_array ) if errno!= 0 throw(GSL_ERROR(errno)) end end -#TODO This vectorization macro is not implemented -#@vectorize_5arg Number sf_coulomb_wave_sphF_array diff --git a/src/_7_7_3_Coulomb_Wave_Function_Normalization_Constant.jl b/src/_7_7_3_Coulomb_Wave_Function_Normalization_Constant.jl index 86f7a06..8d62568 100644 --- a/src/_7_7_3_Coulomb_Wave_Function_Normalization_Constant.jl +++ b/src/_7_7_3_Coulomb_Wave_Function_Normalization_Constant.jl @@ -18,7 +18,7 @@ function sf_coulomb_CL_e(L::Real, eta::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_2arg Number sf_coulomb_CL_e +Compat.@dep_vectorize_2arg Number sf_coulomb_CL_e # This function computes the Coulomb wave function normalization constant @@ -30,5 +30,3 @@ function sf_coulomb_CL_array(Lmin::Real, kmax::Integer, eta::Real, cl::Real) Cint, Cdouble, Cdouble), Lmin, kmax, eta, cl ) if errno!= 0 throw(GSL_ERROR(errno)) end end -#TODO This vectorization macro is not implemented -#@vectorize_4arg Number sf_coulomb_CL_array diff --git a/src/_7_8_1_3-j_Symbols.jl b/src/_7_8_1_3-j_Symbols.jl index 5503035..e5acb4f 100644 --- a/src/_7_8_1_3-j_Symbols.jl +++ b/src/_7_8_1_3-j_Symbols.jl @@ -18,8 +18,6 @@ function sf_coupling_3j(two_ja::Integer, two_jb::Integer, two_jc::Integer, two_m ccall( (:gsl_sf_coupling_3j, libgsl), Cdouble, (Cint, Cint, Cint, Cint, Cint, Cint), two_ja, two_jb, two_jc, two_ma, two_mb, two_mc ) end -#TODO This vectorization macro is not implemented -#@vectorize_6arg Number sf_coupling_3j # These routines compute the Wigner 3-j coefficient, (ja jb jc @@ -35,5 +33,3 @@ function sf_coupling_3j_e(two_ja::Integer, two_jb::Integer, two_jc::Integer, two if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -#TODO This vectorization macro is not implemented -#@vectorize_6arg Number sf_coupling_3j_e diff --git a/src/_7_8_2_6-j_Symbols.jl b/src/_7_8_2_6-j_Symbols.jl index 2708f53..6ff998e 100644 --- a/src/_7_8_2_6-j_Symbols.jl +++ b/src/_7_8_2_6-j_Symbols.jl @@ -18,8 +18,6 @@ function sf_coupling_6j(two_ja::Integer, two_jb::Integer, two_jc::Integer, two_j ccall( (:gsl_sf_coupling_6j, libgsl), Cdouble, (Cint, Cint, Cint, Cint, Cint, Cint), two_ja, two_jb, two_jc, two_jd, two_je, two_jf ) end -#TODO This vectorization macro is not implemented -#@vectorize_6arg Number sf_coupling_6j # These routines compute the Wigner 6-j coefficient, {ja jb jc @@ -35,5 +33,3 @@ function sf_coupling_6j_e(two_ja::Integer, two_jb::Integer, two_jc::Integer, two if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -#TODO This vectorization macro is not implemented -#@vectorize_6arg Number sf_coupling_6j_e diff --git a/src/_7_8_3_9-j_Symbols.jl b/src/_7_8_3_9-j_Symbols.jl index d6436b0..1b7c871 100644 --- a/src/_7_8_3_9-j_Symbols.jl +++ b/src/_7_8_3_9-j_Symbols.jl @@ -19,8 +19,6 @@ function sf_coupling_9j(two_ja::Integer, two_jb::Integer, two_jc::Integer, two_j Cint, Cint, Cint, Cint, Cint, Cint), two_ja, two_jb, two_jc, two_jd, two_je, two_jf, two_jg, two_jh, two_ji ) end -#TODO This vectorization macro is not implemented -#@vectorize_9arg Number sf_coupling_9j # These routines compute the Wigner 9-j coefficient, {ja jb jc @@ -37,5 +35,3 @@ function sf_coupling_9j_e(two_ja::Integer, two_jb::Integer, two_jc::Integer, two if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -#TODO This vectorization macro is not implemented -#@vectorize_9arg Number sf_coupling_9j_e diff --git a/src/_7_9_Dawson_Function.jl b/src/_7_9_Dawson_Function.jl index ad2c3bd..b4ac47a 100644 --- a/src/_7_9_Dawson_Function.jl +++ b/src/_7_9_Dawson_Function.jl @@ -13,7 +13,7 @@ export sf_dawson, sf_dawson_e function sf_dawson(x::Real) ccall( (:gsl_sf_dawson, libgsl), Cdouble, (Cdouble, ), x ) end -@vectorize_1arg Number sf_dawson +Compat.@dep_vectorize_1arg Number sf_dawson # These routines compute the value of Dawson's integral for x. @@ -26,4 +26,4 @@ function sf_dawson_e(x::Real) if errno!= 0 throw(GSL_ERROR(errno)) end return result[] end -@vectorize_1arg Number sf_dawson_e +Compat.@dep_vectorize_1arg Number sf_dawson_e diff --git a/src/_8_2_1_Block_allocation.jl b/src/_8_2_1_Block_allocation.jl index a2e8604..a06d83a 100644 --- a/src/_8_2_1_Block_allocation.jl +++ b/src/_8_2_1_Block_allocation.jl @@ -20,7 +20,7 @@ function block_alloc(n::Integer) (Csize_t, ), n ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_1arg Number block_alloc +Compat.@dep_vectorize_1arg Number block_alloc # This function allocates memory for a block and initializes all the elements @@ -32,7 +32,7 @@ function block_calloc(n::Integer) (Csize_t, ), n ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_1arg Number block_calloc +Compat.@dep_vectorize_1arg Number block_calloc # This function frees the memory used by a block b previously allocated with diff --git a/src/_9_2_Permutation_allocation.jl b/src/_9_2_Permutation_allocation.jl index 7826e4f..c1ff6a7 100644 --- a/src/_9_2_Permutation_allocation.jl +++ b/src/_9_2_Permutation_allocation.jl @@ -20,7 +20,7 @@ function permutation_alloc(n::Integer) Ptr{gsl_permutation}, (Csize_t, ), n ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_1arg Number permutation_alloc +Compat.@dep_vectorize_1arg Number permutation_alloc # This function allocates memory for a new permutation of size n and @@ -33,7 +33,7 @@ function permutation_calloc(n::Integer) Ptr{gsl_permutation}, (Csize_t, ), n ) output_ptr==C_NULL ? throw(GSL_ERROR(8)) : output_ptr end -@vectorize_1arg Number permutation_calloc +Compat.@dep_vectorize_1arg Number permutation_calloc # This function initializes the permutation p to the identity, i.e. diff --git a/src/_9_3_Accessing_permutation_elements.jl b/src/_9_3_Accessing_permutation_elements.jl index 53124e5..bdfaea9 100644 --- a/src/_9_3_Accessing_permutation_elements.jl +++ b/src/_9_3_Accessing_permutation_elements.jl @@ -29,4 +29,4 @@ function permutation_swap(i::Integer, j::Integer) if errno!= 0 throw(GSL_ERROR(errno)) end return p[] end -@vectorize_2arg Number permutation_swap +Compat.@dep_vectorize_2arg Number permutation_swap diff --git a/test/REQUIRE b/test/REQUIRE deleted file mode 100644 index 81f5a39..0000000 --- a/test/REQUIRE +++ /dev/null @@ -1 +0,0 @@ -Compat 0.7.15 diff --git a/util/makewrappers.py b/util/makewrappers.py index 759ccb2..3ece6ba 100755 --- a/util/makewrappers.py +++ b/util/makewrappers.py @@ -560,10 +560,7 @@ def parsefunctions(soup, unknown_handler=['disable', 'report']): #add vectorization macro call if applicable if do_vectorize > 0: if do_vectorize <= 2: - parsed_out += ['@vectorize_%darg Number ' % do_vectorize + funcname] - else: - parsed_out += ['#TODO This vectorization macro is not implemented', - '#@vectorize_%darg Number ' % do_vectorize + funcname] + parsed_out += ['@dep_vectorize_%darg Number ' % do_vectorize + funcname] all_parsed_out += ['', ''] if isDisabled and 'disable' in unknown_handler: From 83520167fe46a884e0d673d0058515891f4f1ea2 Mon Sep 17 00:00:00 2001 From: Yichao Yu Date: Thu, 8 Sep 2016 22:58:27 -0400 Subject: [PATCH 2/2] Run travis on 0.4, 0.5, nightly --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 50fab86..43dd301 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ os: - osx julia: - 0.4 + - 0.5 - nightly notifications: email: false