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