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

816 HP MLIB User’s Guide
vsAtanh, vdAtanh The arc hyperbolic tangent of the elements of a vector
Name vsAtanh, vdAtanh
The arc hyperbolic tangent of the elements of a vector
Purpose vsAtanh and vdAtanh calculate the archyperbolic tangent function of vector
elements:
y[i] = atanh(a[i]), for 0 <= i <= n-1
Usage VMATH:
#include <vmath.h>
void vsAtanh (int n, const float a[ ], float y [ ] ) ;
void vdAtanh (int n, const double a [ ], double y [ ] ) ;
VMATH8:
#include <vmath8.h>
void vsAtanh (long long n, const float a[ ], float y [ ] ) ;
void vdAtanh (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.