Returns TRUE if x is less than y. Otherwise the return value is FALSE. Both arguments must be of the same type and the same size. This function is performed element-wise if the arguments are vectors or matrices.
Syntax
x < y
Types
| Variable Name | Value Type | Variable Type | ||
|---|---|---|---|---|
| Arguments: | x | real | boolean, scalar, vector, matrix | |
| y | real | boolean, scalar, vector, matrix | ||
| Result: | b | bool | boolean | |
Calculator Input
Use the button to complete the operation.
Example
| ID | Description | Type | Value | Expression | |
|---|---|---|---|---|---|
| x | REAL VECTOR |
| [2, 3] | ||
| y | REAL VECTOR |
| [2, 4] | ||
| b | Result | BOOL | false | x < y | |