On Fri, Jun 5, 2009 at 16:24, Chris Colbert <sccolb...@gmail.com> 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 = A * B > > matrix multiplication: > > C = {A} * {B} > > or > > C = [A] * [B] > > or any other brace we decide on > > Essentially, the brace tells numpy to handle the array objects like > matrices, but with no need for a specific matrix type.
We don't control the Python language. We cannot make these kinds of changes to the syntax. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion