HP MLIB User's Guide Vol. 2 7th Ed.

820 HP MLIB User’s Guide
vsDiv, vdDiv The quotient of corresponding elements of two vectors
Name vsDiv, vdDiv
The quotient of corresponding elements of two vectors
Purpose vsDiv and vdDiv calculate the quotient of vector element pairs:
y[i] = a[i]/b[i], for 0 <= i <= n-1
Usage VMATH:
#include <vmath.h>
void vsDiv (int n, const float a[ ], const float b [ ], float y [ ] ) ;
void vdDiv (int n, const double a [ ], const double b [ ], double y [ ] ) ;
VMATH8:
#include <vmath8.h>
void vsDiv (long long n, const float a[ ], const float b[ ], float y [ ] ) ;
void vdDiv (long long n, const double a [ ], const double b[ ], double
y [ ] ) ;
Input n Number of elements to be calculated.
a Array of length at least n, specifying the input vector of
numerators.
b Array of length at least n, specifying the input vector of
denominators.
Output y Array of length at least n, specifying the output vector.