XLPack 7.0
XLPack Numerical Library (Excel VBA) Reference Manual
Loading...
Searching...
No Matches

◆ 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]RetDot product of vectors x and y (x^T*y).
[in]NNumber of elements in vectors x and y. (If N <= 0, returns 0)
[in]X_IAn element X(I) of the array X(). Starting from this location, vector x is stored with element spacing IncX.
[in]Y_IAn 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