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

828 HP MLIB User’s Guide
vsLog10, vdLog10 The base-10 logarithm of the elements of a vector
Name vsLog10, vdLog10
The base-10 logarithm of the elements of a vector
Purpose vsLog10 and vdLog10 calculate the base-10 logarithm function of vector
elements:
y[i] = log10(a[i]), for 0 <= i <= n-1
Usage VMATH:
#include <vmath.h>
void vsLog10 (int n, const float a[ ], float y [ ] ) ;
void vdLog10 (int n, const double a [ ], double y [ ] ) ;
VMATH8:
#include <vmath8.h>
void vsLog10 (long long n, const float a[ ], float y [ ] ) ;
void vdLog10 (long long n, const double a [ ], double y [ ] ) ;
Input n Number of elements to be calculated.
a Array of length at least n, specifying the input vector.
Output y Array of length at least n, specifying the output vector.