Calculates the dot product of two real vectors.
.gif)
![]() |
yInc determines whether the VI skips elements in y for the calculation. The default is 1, meaning the VI does not skip any elements in y. yInc is an optional input.
|
||
![]() |
xInc determines whether the VI skips elements in x for the calculation. The default is 1, meaning the VI does not skip any elements in x. xInc is an optional input.
|
||
![]() |
x is a real vector. | ||
![]() |
y is a real vector. y must be the same size as x. | ||
![]() |
ddot is a real scalar that returns the dot product of x and y. | ||
![]() |
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |
Refer to BLAS (Basic Linear Algebra Subprograms) for more information on the BLAS functions.
Refer to the Comparison of BLAS and linear algebra VIs VI in the labview\examples\math\matrices.llb for an example of using the ddot - Dot Product (DBL) VI.