|
|
◆ ddot()
| double ddot |
( |
int |
n, |
|
|
double |
x[], |
|
|
int |
incx, |
|
|
double |
y[], |
|
|
int |
incy |
|
) |
| |
xT * y (BLAS 1)
- Purpose
- This routine forms the dot product of two vectors.
- Returns
- Dot product of vectors x and y (x^T*y).
- Parameters
-
| [in] | n | Number of elements in vectors x and y. (If n <= 0, returns 0) |
| [in] | x[] | Array x[lx] (lx >= 1 + (n - 1)*abs(incx))
Input vector x. |
| [in] | incx | Storage spacing between elements of x. |
| [in] | y[] | Array y[ly] (ly >= 1 + (n - 1)*abs(incy))
Input vector y. |
| [in] | incy | Storage spacing between elements of y. |
- Reference
- BLAS
|