[Issue 5880] std.numerics.dotProduct for fixed-size arrays

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Apr 24 12:43:08 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=5880



--- Comment #1 from bearophile_hugs at eml.cc 2011-04-24 12:39:28 PDT ---
This doesn't work yet:

int[4] a1 = [1, 2, 3, 4];
assert(dotProduct(a1, iota(10, 41, 10)) == 300);

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list