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

less_than - Component-wise < comparison

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

less_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 less 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