Skip to main content

NDArray::exp

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

Computes the element-wise exponential function of an array, returning a new array with each element raised to the power of $array.


Notes

tip

GPU SUPPORTED

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