special.tests.test_basic

Module Contents

Functions

test_sph_harm()
test_sph_harm_ufunc_loop_selection()
test_chi2_smalldf()
test_ch2_inf()
test_chi2c_smalldf()
test_chi2_inv_smalldf()
test_agm_simple()
test_legacy()
test_error_raising()
test_xlogy()
test_xlog1py()
test_entr()
test_kl_div()
test_rel_entr()
test_huber()
test_pseudo_huber()
class TestCephes
test_airy()
test_airye()
test_binom()
test_binom_2()
test_binom_exact()
test_bdtr()
test_bdtri()
test_bdtrc()
test_bdtrin()
test_bdtrik()
test_bei()
test_beip()
test_ber()
test_berp()
test_besselpoly()
test_beta()
test_betainc()
test_betaln()
test_betaincinv()
test_beta_inf()
test_btdtr()
test_btdtri()
test_btdtria()
test_btdtrib()
test_cbrt()
test_chdtr()
test_chdtrc()
test_chdtri()
test_chdtriv()
test_chndtr()
test_chndtridf()
test_chndtrinc()
test_chndtrix()
test_cosdg()
test_cosm1()
test_cotdg()
test_dawsn()
test_diric()
test_diric_broadcasting()
test_ellipe()
test_ellipeinc()
test_ellipj()
test_ellipk()
test_ellipkinc()
test_erf()
test_erfc()
test_exp1()
test_expi()
test_expn()
test_exp1_reg()
test_exp10()
test_exp2()
test_expm1()
test_expm1_complex()
test_expm1_complex_hard()
test_fdtr()
test_fdtrc()
test_fdtri()
test_fdtridfd()
test_fresnel()
test_gamma()
test_gammainc()
test_gammaincc()
test_gammainccinv()
test_gammaln()
test_gammasgn()
test_gdtr()
test_gdtr_inf()
test_gdtrc()
test_gdtria()
test_gdtrib()
test_gdtrix()
test_hankel1()
test_hankel1e()
test_hankel2()
test_hankel2e()
test_hyp1f1()
test_hyp1f2()
test_hyp2f0()
test_hyp2f1()
test_hyp3f0()
test_hyperu()
test_i0()
test_i0e()
test_i1()
test_i1e()
test_it2i0k0()
test_it2j0y0()
test_it2struve0()
test_itairy()
test_iti0k0()
test_itj0y0()
test_itmodstruve0()
test_itstruve0()
test_iv()
_check_ive()
test_j0()
test_j1()
test_jn()
test_jv()
_check_jve()
test_k0()
test_k0e()
test_k1()
test_k1e()
test_kei()
test_keip()
test_ker()
test_kerp()
_check_kelvin()
test_kn()
test_kolmogi()
test_kolmogorov()
_check_kv()
_check_kve()
test_log1p()
test_log1p_complex()
test_lpmv()
test_mathieu_a()
test_mathieu_b()
test_mathieu_cem()
test_mathieu_sem()
test_mathieu_modcem1()
test_mathieu_modcem2()
test_mathieu_modsem1()
test_mathieu_modsem2()
test_mathieu_overflow()
test_mathieu_ticket_1847()
test_modfresnelm()
test_modfresnelp()
_check_modstruve()
test_nbdtr()
test_nbdtrc()
test_nbdtri()
__check_nbdtrik()
test_nbdtrin()
test_ncfdtr()
test_ncfdtri()
test_ncfdtridfd()
test_ncfdtridfn()
test_ncfdtrinc()
test_nctdtr()
__check_nctdtridf()
test_nctdtrinc()
test_nctdtrit()
test_ndtr()
test_ndtri()
test_nrdtrimn()
test_nrdtrisd()
test_obl_ang1()
test_obl_ang1_cv()
_check_obl_cv()
test_obl_rad1()
test_obl_rad1_cv()
test_obl_rad2()
test_obl_rad2_cv()
test_pbdv()
test_pbvv()
test_pbwa()
test_pdtr()
test_pdtrc()
test_pdtri()
test_pdtrik()
test_pro_ang1()
test_pro_ang1_cv()
_check_pro_cv()
test_pro_rad1()
test_pro_rad1_cv()
test_pro_rad2()
test_pro_rad2_cv()
test_psi()
test_radian()
test_rgamma()
test_round()
test_shichi()
test_sici()
test_sindg()
test_smirnov()
test_smirnovi()
test_spence()
test_stdtr()
test_stdtridf()
test_stdtrit()
test_struve()
test_tandg()
test_tklmbda()
test_y0()
test_y1()
test_yn()
test_yv()
_check_yve()
test_zeta()
test_zetac()
test_zeta_1arg()
test_wofz()
class TestAiry
test_airy()
test_airye()
test_bi_zeros()
test_ai_zeros()
test_ai_zeros_big()
test_bi_zeros_big()
class TestAssocLaguerre
test_assoc_laguerre()
class TestBesselpoly
test_besselpoly()
class TestKelvin
test_bei()
test_beip()
test_ber()
test_berp()
test_bei_zeros()
test_beip_zeros()
test_ber_zeros()
test_berp_zeros()
test_kelvin()
test_kei()
test_keip()
test_ker()
test_kerp()
test_kei_zeros()
test_keip_zeros()
test_kelvin_zeros()
test_ker_zeros()
test_kerp_zeros()
class TestBernoulli
test_bernoulli()
class TestBeta
test_beta()
test_betaln()
test_betainc()
test_betaincinv()
class TestCombinatorics
test_comb()
test_comb_with_np_int64()
test_comb_zeros()
test_perm()
test_perm_zeros()
class TestTrigonometric
test_cbrt()
test_cbrtmore()
test_cosdg()
test_cosdgmore()
test_cosm1()
test_cotdg()
test_cotdgmore()
test_specialpoints()
test_sinc()
test_sindg()
test_sindgmore()
class TestTandg
test_tandg()
test_tandgmore()
test_specialpoints()
class TestEllip
test_ellipj_nan()

Regression test for #912.

test_ellipj()
test_ellipk()
test_ellipkinc()
test_ellipkinc_2()
test_ellipkinc_singular()
test_ellipe()
test_ellipeinc()
test_ellipeinc_2()
class TestErf
test_erf()
test_erf_zeros()
_check_variant_func(func, other_func, rtol, atol=0)
test_erfc_consistent()
test_erfcx_consistent()
test_erfi_consistent()
test_dawsn_consistent()
test_erfcinv()
test_erfinv()
test_errprint()
test_erf_nan_inf()
test_erfc_nan_inf()
test_erfcx_nan_inf()
test_erfi_nan_inf()
test_dawsn_nan_inf()
test_wofz_nan_inf()
class TestEuler
test_euler()
class TestExp
test_exp2()
test_exp2more()
test_exp10()
test_exp10more()
test_expm1()
test_expm1more()
class TestFactorialFunctions
test_factorial()
test_factorial2()
test_factorialk()
class TestFresnel
test_fresnel()
test_fresnel_inf1()
test_fresnel_inf2()
test_fresnel_zeros()
test_fresnelc_zeros()
test_fresnels_zeros()
class TestGamma
test_gamma()
test_gammaln()
test_gammainc()
test_gammaincnan()
test_gammainczero()
test_gammaincinf()
test_gammaincc()
test_gammainccnan()
test_gammainccinf()
test_gammainccinv()
test_gammaincinv()
test_975()
test_rgamma()
test_infinity()
class TestHankel
test_negv1()
test_hankel1()
test_negv1e()
test_hankel1e()
test_negv2()
test_hankel2()
test_neg2e()
test_hankl2e()
class TestHyper
test_h1vp()
test_h2vp()
test_hyp0f1()
test_hyp0f1_gh5764()
test_hyp1f1()
test_hyp1f1_gh2957()
test_hyp1f1_gh2282()
test_hyp1f2()
test_hyp2f0()
test_hyp2f1()
test_hyp3f0()
test_hyperu()
test_hyperu_gh2287()
class TestBessel
test_itj0y0()
test_it2j0y0()
test_negv_iv()
test_j0()
test_j1()
test_jn()
test_negv_jv()
test_jv()
test_negv_jve()
test_jve()
test_jn_zeros()
test_jn_zeros_slow()
test_jnjnp_zeros()
test_jnp_zeros()
test_jnyn_zeros()
test_jvp()
test_k0()
test_k0e()
test_k1()
test_k1e()
test_jacobi()
test_kn()
test_negv_kv()
test_kv0()
test_kv1()
test_kv2()
test_kn_largeorder()
test_kv_largearg()
test_negv_kve()
test_kve()
test_kvp_v0n1()
test_kvp_n1()
test_kvp_n2()
test_y0()
test_y1()
test_y0_zeros()
test_y1_zeros()
test_y1p_zeros()
test_yn_zeros()
test_ynp_zeros()
test_ynp_zeros_large_order()
test_yn()
test_negv_yv()
test_yv()
test_negv_yve()
test_yve()
test_yvp()
_cephes_vs_amos_points()

Yield points at which to compare Cephes implementation to AMOS

check_cephes_vs_amos(f1, f2, rtol=1e-11, atol=0, skip=None)
test_jv_cephes_vs_amos()
test_yv_cephes_vs_amos()
test_yv_cephes_vs_amos_only_small_orders()
test_iv_cephes_vs_amos()
test_iv_cephes_vs_amos_mass_test()
test_kv_cephes_vs_amos()
test_ticket_623()
test_ticket_853()

Negative-order Bessels

test_ticket_854()

Real-valued Bessel domains

test_ticket_503()

Real-valued Bessel I overflow

test_iv_hyperg_poles()
iv_series(v, z, n=200)
test_i0_series()
test_i1_series()
test_iv_series()
test_i0()
test_i0e()
test_i1()
test_i1e()
test_iti0k0()
test_it2i0k0()
test_iv()
test_negv_ive()
test_ive()
test_ivp0()
test_ivp()
class TestLaguerre
test_laguerre()
test_genlaguerre()
class TestLegendre
test_legendre()
class TestLambda
test_lmbda()
class TestLog1p
test_log1p()
test_log1pmore()
class TestLegendreFunctions
test_clpmn()
test_clpmn_close_to_real_2()
test_clpmn_close_to_real_3()
test_clpmn_across_unit_circle()
test_inf()
test_deriv_clpmn()
test_lpmn()
test_lpn()
test_lpmv()
test_lqmn()
test_lqmn_gt1()

algorithm for real arguments changes at 1.0001 test against analytical result for m=2, n=1

test_lqmn_shape()
test_lqn()
class TestMathieu
test_mathieu_a()
test_mathieu_even_coef()
test_mathieu_odd_coef()
class TestFresnelIntegral
test_modfresnelp()
test_modfresnelm()
class TestOblCvSeq
test_obl_cv_seq()
class TestParabolicCylinder
test_pbdn_seq()
test_pbdv()
test_pbdv_seq()
test_pbdv_points()
test_pbdv_gradient()
test_pbvv_gradient()
class TestPolygamma
test_polygamma()
class TestProCvSeq
test_pro_cv_seq()
class TestPsi
test_psi()
class TestRadian
test_radian()
test_radianmore()
class TestRiccati
test_riccati_jn()
test_riccati_yn()
class TestRound
test_round()
test_sph_harm()
test_sph_harm_ufunc_loop_selection()
class TestStruve
_series(v, z, n=100)

Compute Struve function & error estimate from its power series.

test_vs_series()

Check Struve function versus its power series

test_some_values()
test_regression_679()

Regression test for #679

test_chi2_smalldf()
test_ch2_inf()
test_chi2c_smalldf()
test_chi2_inv_smalldf()
test_agm_simple()
test_legacy()
test_error_raising()
test_xlogy()
test_xlog1py()
test_entr()
test_kl_div()
test_rel_entr()
test_huber()
test_pseudo_huber()