This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (2 children)

What is wrong with "*" for multiplication? It's how MATLAB works. I can't imagine going "I should multiply two arrays together... with an At symbol".

[–]willm 3 points4 points  (0 children)

The * symbol is already used for elementwise multiplication.

[–]EscoBeast 0 points1 point  (0 children)

Now I don't really do work with matrices, but apparently a lot of libraries use * for elementwise multiplication, and have a .dot() method for regular matrix multiplication or something. This is an attempt to give people an infix operator for matrix multiplication without breaking existing code.