Hello, the template!(...) mechanism I understand. But I think I need the two classes, the first is the primary template and the second the partial specialization (this is the end of the "loop"), or can I do this in D with functions?
The normal computation of the dot product is normally done in a for loop. But with templates you can enroll the loop. template!(...)(3, a, b). In this example 3 is the dimension of the arrays a and b. Andreas.