Array operation for computing the dot product?

bearophile bearophileHUGS at lycos.com
Wed Feb 3 13:55:14 PST 2010


Unicode operators are good for Fortress, but not for D.
x.dot(y) is good because it's short and easy to read&understand.

Another silly possibility:
x ^^^ y

:-)
Bye,
bearophile



More information about the Digitalmars-d mailing list