Computes the dot product of input ranges a and b. The two ranges must have the same length. If both ranges define
length, the check is done once; otherwise, it is done at each
iteration.
CommonType!(ElementType!(Range1), ElementType!(Range2))dotProduct(Range1 a, Range2 b)
Computes the dot product of input ranges a and b. The two ranges must have the same length. If both ranges define length, the check is done once; otherwise, it is done at each iteration.