Binary Operators
Description
Examples
The binary (infix) operators in Maple are:
+
addition
-
subtraction
*
multiplication
/
division
^
exponentiation
mod
modulo
<
less than
<=
less than or equal
>
greater than
>=
greater than or equal
=
equal
<>
not equal
$
sequence operator
->
arrow operator
@
composition
@@
repeated composition
||
concatenation operator
.
non-commutative multiplication
..
ellipsis
,
expression separator
:=
assignment
::
type operator
:-
module member selector
assuming
compute value of expression under assumptions
and
logical and
or
logical or
xor
exclusive or
implies
implication
union
set union
subset
intersect
set intersection
minus
set difference
in
set or list membership
&<name>
neutral operator
Most binary operators can be made to apply elementwise by appending a tilde (~). See operators[elementwise] for details.
a+b;2+3
a+b
5
a−b;2−3
a−b
−1
a⁢b;2⋅3
a⁢b
6
ab;23
ab
23
8
amodb
modp⁡a,b
a<b
a≤b
b<a
b≤a
a=b
a≠b
a↦b
`$`⁡a,3
a,a,a
a@b
an;f2
an
f2
a‖b;foo‖bar
foobar
a·b
a..b
a::b
aandb;trueandfalse
aandb
false
aorb;trueorfalse
aorb
true
axorb;truexorfalse
axorb
a⇒b;true⇒false
a⇒b
asubsetb;2,3subset1,2,3
a⊆b
aunionb;1,2union2,3
a∪b
1,2,3
aintersectb;1,2intersect2,3
a∩b
2
aminusb;1,2minus2,3
a∖b
1
`&x`≔x,y↦2⋅x+3⋅y;a&xb
&x≔x,y↦2⋅x+3⋅y
2⁢a+3⁢b
a,b
a≔b;a
a≔b
b
See Also
index[expression]
neutral
operators[elementwise]
operators[nullary]
operators[precedence]
operators[unary]
Download Help Document