[SciPy-user] Matlab's economy size QR decomposition

Rick Muller rmuller at sandia.gov
Thu Oct 20 15:44:42 CDT 2005


I'm trying to mimic matlabs "economy size" qr decomposition in scipy.  
Does anyone know how to achieve this using scipy.linalg.qr?

If I call
     q,r = qr(A)
Can I then do something like say
       q = q[:A.shape[0]]
or something along these lines?

Thanks in advance for any help anyone can offer.

Rick




More information about the SciPy-user mailing list