Skip to main content

NDArray::greater_equal

public static function greater_equal(NDArray|array|scalar $a, NDArray|array|scalar $b): NDArray;

Performs an element-wise greater-than-or-equal-to comparison between two arrays and returns a new array of the same shape. The result will be 1 where the elements in the first array are greater than or equal to the corresponding elements in the second array, and 0 otherwise.


Notes

tip

GPU SUPPORTED

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