Canoe
Comprehensive Atmosphere N' Ocean Engine
vvdot.c
Go to the documentation of this file.
1 
5 double vvdot(double const *a, double const *b, int n) {
6  double result = 0.;
7 #pragma GCC ivdep
8  for (int i = 0; i < n; ++i) result += a[i] * b[i];
9  return result;
10 }
double vvdot(double const *a, double const *b, int n)
Definition: vvdot.c:5