Function LIN_dot
Defined in File linalg.c
Function Documentation
-
double LIN_dot(int dim, double *v1, double *v2)
Dot product of two vectors.
- Parameters:
dim – size of the vectors
v1 – first vector of length n
v2 – second vector of length n
- Returns:
The dot product of v1 and v2