Skip to main content

NDArray::arccos

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

Calculates the element-wise inverse cosine (arccosine) of an array, returning a new array with the arccosine of each element.


Notes

tip

GPU SUPPORTED

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