HTBasic Help
×
Menu
Index

DOT

Returns the dot product of two numeric vectors.
 
 DOT( vector, vector )
 
Usage:
Dotproduct=DOT(Vecx,Vecy)
PRINT DOT(X,Y)
 
Example: DOT.BAS
 
Description:
The dot, scalar or inner product of two vectors is defined to be the product of the magnitudes of the vectors and the angle between them. This is equivalent to the sum of the products of the components of the two vectors.
 
See Also: