Alexander Belopolsky wrote: > On 7/6/06, Tim Hochberg <[EMAIL PROTECTED]> wrote: >> ... >> Overloading '+' sure seems perverse, but maybe that's just me. >> > The first time I saw it, it seemed perverse to me as well, but it > actually make a lot of sense: > > 1. It is visually appealing as in '+' makes '|' from '-' and '-' from > '|' and looks close enough to 't'. It looks even closer to † (dagger if that doesn't make it through) which is the symbol used for the hermitian adjoint. > 2. It puts an otherwise useless operator to work. > 3. Prefix spelling suggests that it should be swapaxes(0,1) rather > than swapaxes(-2,-1), which is the choice made by K. > 4. You can't get any shorter than that (at least using a fixed width > font :-). > 5. It already does the right thing for rank<2. Perhaps it's not as perverse as it first appears. Although I still don't have to like it ;-)
-tim > > 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