cosh

Syntax

cosh(X)

Details

The hyperbolic cosine function.

Note:
  • Equivalent to NumPy's numpy.cosh, except that it only accepts a single parameter, X, and does not support parameters like out or where in numpy.cosh.
  • Equivalent to TA-Lib's COSH function. The difference is that DolphinDB cosh accepts scalars, vectors, and matrices as input, whereas TA-Lib COSH is primarily designed for one-dimensional NumPy arrays and does not support scalar or matrix inputs.

Parameters

X is a scalar/vector/matrix.

Returns

A scalar/vector/matrix of type DOUBLE.