[Scipy-tickets] [SciPy] #1813: hyp0f1 args and return values are unnumpyic

SciPy Trac scipy-tickets@scipy....
Sun Jan 13 14:24:37 CST 2013


#1813: hyp0f1 args and return values are unnumpyic
------------------------------+---------------------------------------------
 Reporter:  unknown (google)  |       Owner:  pv         
     Type:  defect            |      Status:  new        
 Priority:  normal            |   Milestone:  Unscheduled
Component:  scipy.special     |     Version:  devel      
 Keywords:  hyp0f1            |  
------------------------------+---------------------------------------------
 The plumbing of the scipy.special.hyp0f1 function is causing me trouble in
 a couple of ways.  First, it is missing an 'out' keyword parameter.
 Second, it returns a length-1 array when you call it with a scalar.

 {{{
 >>> scipy.__version__
 '0.12.0.dev-f093dc8'
 >>> np.floor(1)
 1.0
 >>> scipy.special.gammaln(1)
 0.0
 >>> scipy.special.hyp1f1(1, 1, 1)
 2.7182818284590451
 >>> scipy.special.hyp0f1(1, 1)
 array([ 2.2795853])
 }}}

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1813>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list