[Numpy-discussion] Automatic matrices

2006-12-15 Thread Paulo Jose da Silva e Silva
Hello, If a numpy user is specially concerned with numerical linear algebra (or more generally with Math), it may find unconvenient the use of the dot function instead of the * operator. This behavior may be specially unpleasant for someone migrating from Matlab. I believe that this is the may re

Re: [Numpy-discussion] Automatic matrices

2006-12-15 Thread Paulo Jose da Silva e Silva
Em Sex, 2006-12-15 às 23:37 +0100, Sven Schreiber escreveu: > Paulo Jose da Silva e Silva schrieb: > > > > > However, after trying to use the matrix class I have came across a major > > roadblock: many numpy/scipy functions return an array by default and not > > m

Re: [Numpy-discussion] New Operators in Python

2007-03-25 Thread Paulo Jose da Silva e Silva
Em Seg, 2007-03-26 às 01:08 +1000, dpn escreveu: > With the possible inclusion of generic functions in py3k I dont really > see the point of adding more operators. (While i do miss mat1 x mat2 > from PDL). > > mat3 = mat1.mm(mat2) or the like seems to be sufficient. > > I find matrix multiplicati

Re: [Numpy-discussion] matrix indexing question

2007-03-25 Thread Paulo Jose da Silva e Silva
Em Dom, 2007-03-25 às 13:07 -0400, Alan G Isaac escreveu: > So this :: > > >>> x[1] > matrix([[1, 0]]) > > feels wrong. (Similarly when iterating across rows.) > Of course I realize that I can just :: > > >>> x.A[1] > array([1, 0]) > > but since the above keeps feeling wrong I

Re: [Numpy-discussion] matrix indexing question

2007-03-31 Thread Paulo Jose da Silva e Silva
> > I'm positive I've seen col * row come up in other contexts too, though > I can't think of any other particulars right now. > Add to that quasi-Newton updates for quadratic models in optimization, like the BFGS. Paulo ___ Numpy-discussion mailing