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
}
fit_ammonia.b
b
Definition:
fit_ammonia.py:8
fit_ammonia.a
a
Definition:
fit_ammonia.py:8
vvdot
double vvdot(double const *a, double const *b, int n)
Definition:
vvdot.c:5
src
climath
vvdot.c
Generated by
1.9.1