[Scipy-tickets] [SciPy] #1877: lpmn wrong results for |z| > 1

SciPy Trac scipy-tickets@scipy....
Tue Mar 26 15:02:27 CDT 2013


#1877: lpmn wrong results for |z| > 1
---------------------------+------------------------------------------------
 Reporter:  pv             |       Owner:  pv    
     Type:  defect         |      Status:  new   
 Priority:  high           |   Milestone:  0.13.0
Component:  scipy.special  |     Version:  devel 
 Keywords:                 |  
---------------------------+------------------------------------------------
 The `lpmn` function appears to produce wrong factors of -1 and i for |z| >
 1:
 {{{
 >>> special.lpmn(3, 3, 1.5)[0].T[2,1]
 5.0311529493745271
 >>> mpmath.legenp(2, 1, 1.5)
 mpc(real='-1.6342848428326313e-24', imag='-5.0311529493745271')
 }}}

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


More information about the Scipy-tickets mailing list