Array operation for computing the dot product?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed Feb 3 21:21:47 PST 2010


Don wrote:
> bearophile wrote:
>> Don:
>>> Indeed. The difficult question is, what would the syntax be?
>>
>> What about the simper:
>> x.dot(y)
>>
>> Bye,
>> bearophile
> 
> x.dot(y) and dot(x,y) are already implementable without language change.

As is std.numeric.dotProduct(x, y) without language _or_ library change :o).


Andrei



More information about the Digitalmars-d mailing list