NDArray::log2
public static function log2(NDArray|array|float|int $array): NDArray|float|int;
Computes the element-wise base-2 logarithm of an array, returning a new array with the base-2 logarithm of each element
Notes
tip
GPU SUPPORTED
This operation is supported by GPU (VRAM) and contains a custom CUDA kernel.