Permalink
Browse files

BUG: special/_ufuncs: add missing ufuncs, fix signature order, handle…

… simultaneous return+output variables
  • Loading branch information...
1 parent 08b56a0 commit b8fde8802f11d6c5f731545da0e4839a5a84a0f8 @pv committed Oct 7, 2012
Showing with 146 additions and 108 deletions.
  1. +5 −0 scipy/special/add_newdocs.py
  2. +4 −1 scipy/special/basic.py
  3. +137 −107 scipy/special/generate_ufuncs.py
@@ -368,6 +368,11 @@ def add_newdoc(place, name, doc):
x=gammainccinv(a,y) returns x such that gammaincc(a,x) = y.
""")
+add_newdoc("scipy.special", "gammaincinv",
+ """
+ gammaincinv(a, y) returns x such that gammainc(a, x) = y.
+ """)
+
add_newdoc("scipy.special", "gammaln",
"""
y=gammaln(z) returns the base e logarithm of the absolute value of the
View
@@ -25,8 +25,11 @@
'polygamma', 'pro_cv_seq', 'psi', 'riccati_jn', 'riccati_yn',
'sinc', 'sph_harm', 'sph_in', 'sph_inkn',
'sph_jn', 'sph_jnyn', 'sph_kn', 'sph_yn', 'y0_zeros', 'y1_zeros',
- 'y1p_zeros', 'yn_zeros', 'ynp_zeros', 'yv', 'yvp', 'zeta']
+ 'y1p_zeros', 'yn_zeros', 'ynp_zeros', 'yv', 'yvp', 'zeta',
+ 'SpecialFunctionWarning']
+class SpecialFunctionWarning(Warning):
+ pass
def sinc(x):
"""Returns sin(pi*x)/(pi*x) at all points of array x.
Oops, something went wrong.

0 comments on commit b8fde88

Please sign in to comment.