Jason, Aaron, thank you for your feedback.

Let us consider the scenario, where we need to make an element wise 
function call against arbitrary number of matrices.

I though in a little bit different direction.

We are already able to make a Function object.
Any objections about making it element wise via the same ~ operator?
So having Function object *f*, we could make an element wise version of it 
via __invert__ (~) call.

best regards,
Alexander.

On Monday, July 13, 2015 at 9:07:03 PM UTC+3, Jason Moore wrote:
>
> That's a cool idea.
>
>
> Jason
> moorepants.info
> +01 530-601-9791
>
> On Mon, Jul 13, 2015 at 10:46 AM, Aaron Meurer <[email protected] 
> <javascript:>> wrote:
>
>> 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] 
>> <javascript:>> 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] 
>> <javascript:>>
>> > 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] <javascript:>.
>> >> To post to this group, send email to [email protected] 
>> <javascript:>.
>> >> 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] <javascript:>.
>> > To post to this group, send email to [email protected] 
>> <javascript:>.
>> > 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] <javascript:>.
>> To post to this group, send email to [email protected] <javascript:>
>> .
>> 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.
>>
>
>

-- 
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/f8d4df21-6c13-40c2-ab7d-22f9d2db29d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to