On 7/11/06, Travis Oliphant <[EMAIL PROTECTED]> wrote:
> JJ wrote:
> >4) It would be nice if the linear algebra package and other packages returned
> >matrices if given matrices.  For example, if M is a matrix, svd(M) now 
> >returns
> >
> >
> Svd returns matrices now.  Except for the list of singular values which
> is still an array.  Do you want a 1xn matrix instead of an array?

That sounds good to me.

The same goes for eig and eigh:

>> eigval,eigvec = linalg.eig(rand(2,2))

>> eigval
array([-0.06035002,  0.14320639])

>> eigvec

matrix([[ 0.54799954, -0.83647863],
        [-0.83647863, -0.54799954]])


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Reply via email to