ecl-logo Documentation

AllGreater

AllGreater[array,val]bool

returns True if every element in array is greater than val.

AllGreater[array,vals]bool

compares bottom level lists in array to list vals.

Details

    Input
    Output

Examples

Basic Examples  (5)

Check if all values in a 2-D array are greater than zero:

Check if elements of inner lists are greater than corresponding elements in comparison list:

Check if elements of bottom level lists in array are greater than corresponding elements in comparison list:

Check if every element in a QuantityArray is greater than 0 Meters:

Check if the elements of every list in a QuantityArray are greater than the corresponding values in the comparision list:

Additional Examples  (3)

Check if all values in a 2-D array are greater than ten:

Units can be different, as long as compatible:

Array units must be compatible with comparison units: