Array operation for computing the dot product?
simen.kjaras at gmail.com
Wed Feb 3 13:09:00 PST 2010
On Wed, 03 Feb 2010 21:19:57 +0100, Michiel Helvensteijn
<m.helvensteijn.remove at gmail.com> wrote:
> bearophile wrote:
>>> Indeed. The difficult question is, what would the syntax be?
>> What about the simper:
> I don't like symmetric operations with an asymmetric syntax.
> Better: dot(x, y)
> Even better: dot_product(x, y)
> Funner: sum(x .* y)
x · y
More information about the Digitalmars-d