Compares a matrix to a number of limits. This tool works analogously to Comparison, but compares matrices instead of scalars.
- The matrix whose entries are to be compared against limits.
- A set of limits in ascending order.
- A matrix that contains the zero-based index of the smallest limit that is greater than or equal to the corresponding entry in the input matrix. If the input matrix entry is not less than the last limit, index will be equal to the number of limits. For example, if limits is [ 0, 10 ], anything less than or equal to 0 as input gives 0, anything greater than 0 but less than 10 gives 1 and values from 10 up give 2. If limits is empty or has more than one column, all entries in index will be -1.