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

Chapter 12 VMATH 819
The hyperbolic cosine of the elements of a vector vsCosh, vdCosh
Name vsCosh, vdCosh
The hyperbolic cosine of the elements of a vector
Purpose vsCosh and vdCosh calculate the hyperbolic cosine function of vector elements:
y[i] = cosh(a[i]), for 0 <= i <= n-1
Usage VMATH:
#include <vmath.h>
void vsCosh (int n, const float a[ ], float y [ ] ) ;
void vdCosh (int n, const double a [ ], double y [ ] ) ;
VMATH8:
#include <vmath8.h>
void vsCosh (long long n, const float a[ ], float y [ ] ) ;
void vdCosh (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.