HTBasic Help
×
Menu
Index
V_dot
Scalar, or dot, product of two real vectors.
 
Loading        LOADSUB ALL FROM "VDOT.HTS"
or LOADSUB FROM "MATHLIB.HTS"
 
Usage                REAL A(*),B(*),Y
Y=FNV_dot(A(*),B(*))
 
Description                
FNV_dot computes the scalar, or dot, product of the vectors a and b. This is done by multiplying each element of a by the corresponding element b and summing the products.
 
Errors                
FNV_dot causes an HTBasic error if A and B are not both of type REAL or if they do not have the same number of elements.
 
See Also
V_cosine, V_cdot, V_prod