Skip to main content

NDArray::floor

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

Rounds the elements of an array to the nearest integer less than or equal to the element, returning a new array with the elements rounded downwards.


Notes

tip

GPU SUPPORTED

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