Should we add `a * b` for vectors?
jmh530
john.michael.hall at gmail.com
Sun Sep 24 23:59:59 UTC 2017
On Sunday, 24 September 2017 at 22:33:48 UTC, H. S. Teoh wrote:
>
> With UFCS, you have the slightly nicer notation a.dot(b) and
> a.cross(b).
>
>
> T
Below is a link to the operators in Matlab and associated
functions. mir can include all of those functions, but not all of
them can be implemented as operators (because D doesn't have
things like .*). I think it would be annoying to constantly have
to write plus or mtimes in writing formulas for a linear algebra
library.
https://www.mathworks.com/help/matlab/matlab_prog/matlab-operators-and-special-characters.html
More information about the Digitalmars-d
mailing list