≤ (less-than or equal to)
The less than or equal to 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 than or equal tob. No epsilons are used. Hence, even ifaandbare essentially equal,a ≤ bmight befalse. For example,sin(π) ≤ 0might or might not betrue. -
If
uandvare real vectors of the same dimension, thenu ≤ vistrueiff every component ofuis less than or equal to the corresponding component ofv. No epsilons are used. -
If
AandBare real matrices of the same size, thenA ≤ Bistrueiff every entry ofAis less than or equal to the corresponding entry ofB. No epsilons are used. -
If
tandsare date or datetime structures, thent ≤ sistrueifftdenotes the same or an earlier point in time thans.
The ≤ operator is implemented by the LessThanOrEqualTo function.
Examples
17/53 ≤ 73/220
true
❨❨6, 3, 1❩, ❨1, 0, 3❩❩ ≤ ❨❨10, 10, 10❩, ❨10, 10, 10❩❩
true
yesterday() ≤ today()
true