≤ (less-than or equal to)
The less than or equal to 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 than or equal tob
. No epsilons are used. Hence, even ifa
andb
are essentially equal,a ≤ b
might befalse
. 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 or equal to 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 or equal to the corresponding entry ofB
. No epsilons are used. -
If
t
ands
are date or datetime structures, thent ≤ s
istrue
ifft
denotes 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