Should we add `a * b` for vectors?

jmh530 john.michael.hall at gmail.com
Sat Sep 23 18:43:56 UTC 2017


On Friday, 22 September 2017 at 17:11:56 UTC, Ilya Yaroshenko 
wrote:
> Should we add `a * b` to ndslice for 1d vectors?
> Discussion at https://github.com/libmir/mir-algorithm/issues/91

My position is still that it can't hurt to add a dot product 
function and other arithmetic or linear algebra functions that 
might be used in the future with operator overloading. Ideally 
they could switch to other mir implementations at compile time if 
those have been imported.


More information about the Digitalmars-d mailing list