< (less-than sign)
The less than relational operator.
Syntax
-
a < b
-
a
andb
are real numbers
-
-
u < v
-
u
andv
are real vectors of the same dimension
-
-
A < B
-
A
andB
are real matrices of the same size
-
-
t < s
-
t
ands
are date or datetime structures
-
Description
-
If
a
andb
are real numbers, thena < b
istrue
iffa
is less thanb
. No epsilons are used. Hence, even ifa
andb
are essentially equal,a < b
might betrue
. For example,sin(π) < 0
might or might not betrue
. -
If
u
andv
are real vectors of the same dimension, thenu < v
istrue
iff every component ofu
is less than the corresponding component ofv
. No epsilons are used. -
If
A
andB
are real matrices of the same size, thenA < B
istrue
iff every entry ofA
is less than the corresponding entry ofB
. No epsilons are used. -
If
t
ands
are date or datetime structures, thent < s
istrue
ifft
denotes 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