Overview | Statement List | Example
DOTF(A,B)
Multiplies the corresponding components of two vectors and adds the products.
Using the function as shown below, where A and B are arrays, each consisting of the three components of a vector,
C=DOTF(A,B)
is equivalent to the following expression:
C=A(1)*B(1)+A(2)*B(2)+A(3)*B(3)
Parameter |
Description |
A,B |
Two-, three-position numerical arrays which represent vectors which are used to calculate the DOT product. |