Skip to content
Chung Leong edited this page Jan 10, 2022 · 4 revisions

greater_than - Component-wise > comparison

bool[] greater_than( float[] $x, float[] $y )

greater_than() compares each element in x with the corresponding element in y and returns the results in a boolean array. [all] or [any] can then be use to determine whether all or any elements in x are greater than the corresponding elements in y.

Parameters:

x - The first array.

y - The second array.

Return Value:

An array of booleans containing the comparison results. The size of the return value will match that of the larger of x and y.

Version

1.0 and above.

Clone this wiki locally