Re: [Numpy-discussion] Maturing the Matrix class in NumPy

2009-06-05 Thread Chris Colbert
well, it sounded like a good idea. Oh, well. On Fri, Jun 5, 2009 at 5:28 PM, Robert Kern wrote: > On Fri, Jun 5, 2009 at 16:24, Chris Colbert wrote: > > How about just introducing a slightly different syntax which tells numpy > to > > handle the array like a matrix: > > > > Some thing along

Re: [Numpy-discussion] Maturing the Matrix class in NumPy

2009-06-05 Thread Robert Kern
On Fri, Jun 5, 2009 at 16:24, Chris Colbert wrote: > How about just introducing a slightly different syntax which tells numpy to > handle the array like a matrix: > > Some thing along the lines of this: > > A = array[[..]] > B = array[[..]] > > elementwise multipication (as it currently is): > > C

Re: [Numpy-discussion] Maturing the Matrix class in NumPy

2009-06-05 Thread Chris Colbert
How about just introducing a slightly different syntax which tells numpy to handle the array like a matrix: Some thing along the lines of this: A = array[[..]] B = array[[..]] elementwise multipication (as it currently is): C = A * B matrix multiplication: C = {A} * {B} or C = [A] * [B] or

Re: [Numpy-discussion] Maturing the Matrix class in NumPy

2009-06-05 Thread Alan G Isaac
On 6/5/2009 3:49 PM Stéfan van der Walt apparently wrote: > If the Matrix class is to remain, we need to take the steps > necessary to integrate it into NumPy properly. I think this requires a list of current problems. Many of the problems for NumPy have been addressed over time. I believe the rem

[Numpy-discussion] Maturing the Matrix class in NumPy

2009-06-05 Thread Stéfan van der Walt
Hi Alan 2009/6/5 Alan G Isaac : > You should take it very seriously when someone > reports to you that the matrix object is a crucial to them, > e.g., as a teaching tool.  Even if you do not find > personally persuasive an example like > http://mail.scipy.org/pipermail/numpy-discussion/2009-June/0