On Mon, Jun 15, 2009 at 5:26 PM, paramaniac<luka...@student.ethz.ch> wrote: > >> Sorry, I don't understand your example. >> If >> A1 = matrix([[a1,b1],[c1,d1]]) >> A2 = matrix([[a2,b2],[c2,d2]]) >> then > > A1.*A2 = matrix([[a1*a2, b1*b2],[c1*c2, d1*d2]]) >
(1) we aren't going to add the .* notation A1 .* A2 to sage, since there has to be a *very* very strong demand to ever add anything new the preparser. We haven't added anything in as long as I can remember. The last thing I wanted to add (implicit multiplication) even got voted down. (2) I would love to add a fast optimized function that does multiply component wise. William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---