[NumPy-Tickets] [NumPy] #937: Bad complex return values & documentation for linalg.lstsq

NumPy Trac numpy-tickets@scipy....
Sat Jan 16 13:23:48 CST 2010


#937: Bad complex return values & documentation for linalg.lstsq
--------------------------+-------------------------------------------------
 Reporter:  nils          |       Owner:  somebody
     Type:  defect        |      Status:  new     
 Priority:  high          |   Milestone:  1.4.0   
Component:  numpy.linalg  |     Version:  none    
 Keywords:  linalg lstsq  |  
--------------------------+-------------------------------------------------
Changes (by nils):

 * cc: nwagner@… (added)
  * priority:  normal => high
  * milestone:  => 1.4.0


Comment:

 Scipy linalg.lstsq is also broken for complex matrices
 {{{
 from numpy.random import rand
 from numpy.linalg import lstsq
 from scipy.linalg import lstsq as lstsq_s
 A = rand(20,10)+1j*rand(20,10)
 b = rand(20)+1j*rand(20)
 x,res,rank,s = lstsq(A,b)
 x_s,res_s,rank_s, s_s = lstsq_s(A,b)
 }}}

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/937#comment:5>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list