Re: [Numpy-discussion] Strange behaviour of linalg.svd() and linalg.eigh()

2008-05-16 Thread Matthieu Brucher
Hi, I tried using Matlab with the same matrix and its eig() function. It can diagonalize the matrix with a correct result, which is not the case for linalg.eigh(). Strange. Matthieu 2008/4/17 Matthieu Brucher <[EMAIL PROTECTED]>: > Hi, > > Ive implemented the classical MultiDimensional Scaling

[Numpy-discussion] Strange behaviour of linalg.svd() and linalg.eigh()

2008-04-17 Thread Matthieu Brucher
Hi, Ive implemented the classical MultiDimensional Scaling for the scikit learn using both functions. Their behavior surprised me for "big" arrays (1 by 1, symmetric as it is a similarity matrix). linalg.svd() raises a memory error because it tries to allocate a (700,) array (in fact b