Re:Wolfram Language and Mathematica Free on Every Raspberry Pi
by oivey on Sunday February 26, 2023 @12:55PM
(#34947576)
I think I mostly like that element of NumPy’s design. 2D arrays are in general not matrices. Images, for example, do not have matrix multiplication semantics.
Re:Wolfram Language and Mathematica Free on Every Raspberry Pi
by danuker on Sunday February 26, 2023 @01:12PM
(#34947762)
I guess when you have a software package named "Mathematica", mathematicians expect to be able to take their math and transliterate it easily. Making them specify the "Dot" function would irk them.
I don't know the motivation of the decision, but "ElementwiseProduct" is harder to type, and still has a lot of use cases.
You try it once, realize it's doing things element-wise, and then go lookup the proper product symbol (@ in numpy).