Maybe we could add some syntactic sugar for this, like M.e would create a proxy object on which operations would act element-wise (so A.e | B.e would perform element-wise OR on A and B).
Aaron Meurer On Sun, Jul 12, 2015 at 4:12 PM, Jason Moore <[email protected]> wrote: > Alexander, > > We are bound by the Python language on what operators are available for > overloading. Python 3.5 has a new @ operator for matrix multiplication, but > other than that you will have to use the functions that implement these > operators. This is unfortunately one downside to building at CAS that > conforms to the Python language. > > > Jason > moorepants.info > +01 530-601-9791 > > On Sun, Jul 12, 2015 at 9:47 AM, Alexander Loschilov <[email protected]> > wrote: >> >> Hello, >> >> Does anybody analyzed the possibility of implementation element wise >> operations that are present in Maple? >> Any chance that somebody is already implementing such functionality? >> >> I am primarily interested in binary element wise operations. >> >> best regards, >> Alexander. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "sympy" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/sympy. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sympy/06fd5b5a-8e91-493e-97cb-701d376024ee%40googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. > > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sympy. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/CAP7f1AgbEsZeN7-UHJjkSxzL2stKYLD9YZcb34f8%2BFemHRApVg%40mail.gmail.com. > > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAKgW%3D6KnF37wf81pksL7c9yh6Hw%2BGcYcFW9D15jwBp3Y8M1BHQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
