Skip to main content

NDArray::log1p

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

Computes the element-wise logarithm of one plus an array, returning a new array with the natural logarithm of each element plus one.


Notes

tip

GPU SUPPORTED

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