[NumPy-Tickets] [NumPy] #1976: linalg.qr returns incorrect shape for nx1 arrays
NumPy Trac
numpy-tickets@scipy....
Wed Nov 9 21:54:47 CST 2011
#1976: linalg.qr returns incorrect shape for nx1 arrays
--------------------------+-------------------------------------------------
Reporter: bransfop | Owner: pv
Type: defect | Status: new
Priority: normal | Milestone: Unscheduled
Component: numpy.linalg | Version: 1.6.0
Keywords: qr, linalg |
--------------------------+-------------------------------------------------
Scipy's linalg.qr returns the correct shape when decomposing the vector
[[1],[0]] while Numpy's linalg.qr does not. The correct shape should be
2x2 for Q and 2x1 for R. Numpy's linalg.qr returns a 2x1 and 1x1 array
while Scipy's linalg.qr returns a 2x2 and 2x1 array. Scipy is correct.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1976>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list