Skip to main content

NDArray::cosh

public static function cosh(NDArray|array|float|int $array): NDArray|float|int;

Computes the element-wise hyperbolic cosine of an array, returning a new array with the hyperbolic cosine of each element.


Notes

tip

GPU SUPPORTED

This operation is supported by GPU (VRAM) and contains a custom CUDA kernel.