![]() |
X Vector is the first input vector. The number of elements in X Vector must be equal to the number of elements in Y Vector. If the number of elements in the X Vector is zero or is different from the number of elements in Y Vector, the dot product is undefined and is set to NaN. |
![]() |
Y Vector is the second input vector. If Y Vector is an empty array, the dot product is NaN. |
![]() |
X * Y is the dot product. |
![]() |
error returns any error or warning condition from the VI. |
Let X represent the input sequence X Vector and Y represent the input sequence Y Vector. The VI obtains the dot product X * Y using the formula:
where n is the number of data points. Notice that the output value X * Y is a scalar value.