Important: The information in this document is obsolete and should not be used for new development.
VectorMultiplyDivide
You can use theVectorMultiplyDividefunction to calculate the quotient of the dot product of two vectors and a divisor.
long *VectorMultiplyDivide(long count, const long *vector1, long step1, const long *vector2, long step2, long divisor);
count- The size of each vector.
vector1- A pointer to one of the two vectors.
step1- The index increment for the
vector1vector.vector2- A pointer to the second of two vectors.
step2- The index increment for the
vector2 vector.divisor- The number by which the dot product is to be divided.
- function result
- The quotient of the dot product of two vectors and a divisor.
DESCRIPTION
TheVectorMultiplyDividefunction calculates the quotient of a dot product of parametersvector1andvector2and adivisorparameter. The size of each vector is given by thecountparameter. The index increment is given by the parametersstep1andstep2, respectively. If thecountparameter is negative, the terms are alternated. This is equivalent to
WideDivide(VectorMultiply(),divisor)