Close
Close window
binary - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

Binary Operators

Description

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

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.

Examples

>

a+b&semi;2+3

a+b

5

(1)
>

ab&semi;23

ab

−1

(2)
>

ab&semi;23

ab

6

(3)
>

ab&semi;23

ab

23

(4)
>

ab&semi;23

ab

8

(5)
>

amodb

modpa&comma;b

(6)
>

a<b

a<b

(7)
>

ab

ab

(8)
>

b<a

b<a

(9)
>

ba

ba

(10)
>

a=b

a=b

(11)
>

ab

ab

(12)
>

ab

ab

(13)
>

`$`a&comma;3

a,a,a

(14)
>

ab

ab

(15)
>

an&semi;f2

an

f2

(16)
>

ab&semi;foobar

ab

foobar

(17)
>

a·b

a·b

(18)
>

a..b

a..b

(19)
>

a::b

a::b

(20)
>

aandb&semi;trueandfalse

aandb

false

(21)
>

aorb&semi;trueorfalse

aorb

true

(22)
>

axorb&semi;truexorfalse

axorb

true

(23)
>

ab&semi;truefalse

ab

false

(24)
>

asubsetb&semi;2&comma;3subset1&comma;2&comma;3

ab

true

(25)
>

aunionb&semi;1&comma;2union2&comma;3

ab

1&comma;2&comma;3

(26)
>

aintersectb&semi;1&comma;2intersect2&comma;3

ab

2

(27)
>

aminusb&semi;1&comma;2minus2&comma;3

ab

1

(28)
>

`&x`x&comma;y2x+3y&semi;a&xb

&xx&comma;y2x+3y

2a+3b

(29)
>

a,b

a,b

(30)
>

ab&semi;a

ab

b

(31)


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /