Skip to main content

NDArray::logb

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

Computes the element-wise logarithm base b of an array, returning a new array with the logarithm base b of each element.


Notes

tip

GPU SUPPORTED

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