2 ms·
mul(x, y) can be overloaded! x and y could be any cobination of matrix, vector, or integer, float. You're mixing up overloading (which is semantics) with synt
by kazinator 3y ago
mul(x, y)
can be overloaded! x and y could be any cobination of matrix, vector, or integer, float.
You're mixing up overloading (which is semantics) with syntax.
- spacechild1 3y agoWe all know that functions can be overloaded. The emphasis is on operator overloading. So yes, it is about syntax.