special.tests.test_cdflib

Test cdflib functions versus mpmath, if available.

The following functions still need tests:

  • ncfdtr
  • ncfdtri
  • ncfdtridfn
  • ncfdtridfd
  • ncfdtrinc
  • nbdtrik
  • nbdtrin
  • nrdtrimn
  • nrdtrisd
  • pdtrik
  • nctdtr
  • nctdtrit
  • nctdtridf
  • nctdtrinc

Module Contents

Classes

ProbArg(self) Generate a set of probabilities on [0, 1].
EndpointFilter(self,a,b,rtol,atol)
_CDFData(self,spfunc,mpfunc,index,argspec,spfunc_first=True,dps=20,n=5000,rtol=None,atol=None,endpt_rtol=None,endpt_atol=None)
TestCDFlib()

Functions

_assert_inverts(*a,**kw)
_binomial_cdf(k,n,p)
_f_cdf(dfn,dfd,x)
_student_t_cdf(df,t,dps=None)
_noncentral_chi_pdf(t,df,nc)
_noncentral_chi_cdf(x,df,nc,dps=None)
_tukey_lmbda_quantile(p,lmbda)
test_nonfinite()
class ProbArg

Generate a set of probabilities on [0, 1].

__init__()
values(n)

Return an array containing approximatively n numbers.

class EndpointFilter(a, b, rtol, atol)
__init__(a, b, rtol, atol)
__call__(x)
class _CDFData(spfunc, mpfunc, index, argspec, spfunc_first=True, dps=20, n=5000, rtol=None, atol=None, endpt_rtol=None, endpt_atol=None)
__init__(spfunc, mpfunc, index, argspec, spfunc_first=True, dps=20, n=5000, rtol=None, atol=None, endpt_rtol=None, endpt_atol=None)
idmap(*args)
get_param_filter()
check()
_assert_inverts(*a, **kw)
_binomial_cdf(k, n, p)
_f_cdf(dfn, dfd, x)
_student_t_cdf(df, t, dps=None)
_noncentral_chi_pdf(t, df, nc)
_noncentral_chi_cdf(x, df, nc, dps=None)
_tukey_lmbda_quantile(p, lmbda)
class TestCDFlib
test_bdtrik()
test_bdtrin()
test_btdtria()
test_btdtrib()
test_fdtridfd()
test_gdtria()
test_gdtrib()
test_gdtrix()
test_stdtr()
test_stdtridf()
test_stdtrit()
test_chdtriv()
test_chndtridf()
test_chndtrinc()
test_chndtrix()
test_tklmbda_zero_shape()
test_tklmbda_neg_shape()
test_tklmbda_pos_shape()
test_nonfinite()