|
|
◆ Ddot_sub()
| Sub Ddot_sub |
( |
Ret As |
Double, |
|
|
N As |
Long, |
|
|
X_I As |
Double, |
|
|
Y_I As |
Double, |
|
|
Optional IncX As |
Long = 1, |
|
|
Optional IncY As |
Long = 1 |
|
) |
| |
xT * y (BLAS 1) (Subroutine version)
- Purpose
- Forms the dot product of two vectors.
- Parameters
-
| [out] | Ret | Dot product of vectors x and y (x^T*y). |
| [in] | N | Number of elements in vectors x and y. (If N <= 0, returns 0) |
| [in] | X_I | An element X(I) of the array X(). Starting from this location, vector x is stored with element spacing IncX. |
| [in] | Y_I | An element Y(I) of the array Y(). Starting from this location, vector y is stored with element spacing IncY. |
| [in] | IncX | (Optional)
Element spacing of vector x in the array X(). (default = 1) |
| [in] | IncY | (Optional)
Element spacing of vector y in the array Y(). (default = 1) |
- Reference
- BLAS
|