# mxnet.ndarray.cosh¶

mxnet.ndarray.cosh(data=None, out=None, name=None, **kwargs)

Returns the hyperbolic cosine of the input array, computed element-wise.

$cosh(x) = 0.5\times(exp(x) + exp(-x))$

The storage type of cosh output is always dense

Defined in src/operator/tensor/elemwise_unary_op_trig.cc:L216

Parameters: data (NDArray) – The input array. out (NDArray, optional) – The output NDArray to hold the result. out – The output of this function. NDArray or list of NDArrays