Re: [Numpy-discussion] Confused with qr decomposition function

2012-11-20 Thread Pauli Virtanen
20.11.2012 20:03, Virgil Stokes kirjoitti: [clip] > Here are two that had opposite signs compared to MATLAB: [clip] Interestingly, I get the same signs also for these matrices. This probably means that the issue is specific to the Windows binaries. Probably, the ATLAS+LAPACK combination shipped w

Re: [Numpy-discussion] Confused with qr decomposition function

2012-11-20 Thread Virgil Stokes
On 2012-11-20 18:09, Pauli Virtanen wrote: > 20.11.2012 15:24, Virgil Stokes kirjoitti: > [clip] >> I am aware that they are both correct; but, if you are doing covariance >> QR decomposition then you almost surely are interested in the positive >> results (which is the default for MATLAB and most

Re: [Numpy-discussion] Confused with qr decomposition function

2012-11-20 Thread Pauli Virtanen
20.11.2012 15:24, Virgil Stokes kirjoitti: [clip] > I am aware that they are both correct; but, if you are doing covariance > QR decomposition then you almost surely are interested in the positive > results (which is the default for MATLAB and most papers/books on this > subject). I get exactly id

Re: [Numpy-discussion] Confused with qr decomposition function

2012-11-20 Thread Virgil Stokes
On 20-Nov-2012 00:30, Charles R Harris wrote: On Mon, Nov 19, 2012 at 4:17 PM, Virgil Stokes > wrote: I am using the latest versions of numpy (from numpy-1.7.0b2-win32-superpack-python2.7.exe) and scipy (from scipy-0.11.0-win32-superpack-python2.7.exe ) on a

Re: [Numpy-discussion] Confused with qr decomposition function

2012-11-19 Thread Charles R Harris
On Mon, Nov 19, 2012 at 4:17 PM, Virgil Stokes wrote: > I am using the latest versions of numpy (from > numpy-1.7.0b2-win32-superpack-python2.7.exe) and scipy (from > scipy-0.11.0-win32-superpack-python2.7.exe ) on a windows 7 (32-bit) > platform. > > I have used > > import numpy as np > q,r = np

[Numpy-discussion] Confused with qr decomposition function

2012-11-19 Thread Virgil Stokes
I am using the latest versions of numpy (from numpy-1.7.0b2-win32-superpack-python2.7.exe) and scipy (from scipy-0.11.0-win32-superpack-python2.7.exe ) on a windows 7 (32-bit) platform. I have used import numpy as np q,r = np.linalg.qr(A) and compared the results obtained from MATLAB (R2010B