Skip to main content

NDArray::ceil

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

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


Notes

tip

GPU SUPPORTED

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