< (less-than sign)
The less than relational operator.
Syntax
-
a < b-
aandbare real numbers
-
-
u < v-
uandvare real vectors of the same dimension
-
-
A < B-
AandBare real matrices of the same size
-
-
t < s-
tandsare date or datetime structures
-
Description
-
If
aandbare real numbers, thena < bistrueiffais less thanb. No epsilons are used. Hence, even ifaandbare essentially equal,a < bmight betrue. For example,sin(π) < 0might or might not betrue. -
If
uandvare real vectors of the same dimension, thenu < vistrueiff every component ofuis less than the corresponding component ofv. No epsilons are used. -
If
AandBare real matrices of the same size, thenA < Bistrueiff every entry ofAis less than the corresponding entry ofB. No epsilons are used. -
If
tandsare date or datetime structures, thent < sistrueifftdenotes an earlier point in time thans.
The < operator is implemented by the LessThan function.
Examples
17/53 < 73/220
true
❨❨6, 3, 1❩, ❨1, 0, 3❩❩ < ❨❨10, 10, 10❩, ❨10, 10, 10❩❩
true
yesterday() < today()
true