Skip to content

Commit

Permalink
BUG: special/_ufuncs: add missing ufuncs, fix signature order, handle…
Browse files Browse the repository at this point in the history
… simultaneous return+output variables
  • Loading branch information
pv committed Oct 7, 2012
1 parent 08b56a0 commit b8fde88
Show file tree
Hide file tree
Showing 3 changed files with 146 additions and 108 deletions.
5 changes: 5 additions & 0 deletions scipy/special/add_newdocs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion scipy/special/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading

0 comments on commit b8fde88

Please sign in to comment.