* - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


MultiSet/*

MultiSet * operator

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

m * M

Parameters

m

-

integer; a real number, which must be a positive integer unless M is generalized, in which case it must be nonzero

M

-

MultiSet; a MultiSet

Description

• 

m * M returns the MultiSet whose elements are the elements of M and whose multiplicities are m times the corresponding multiplicities in M.

Examples

> 

M≔MultiSet⁡a=2,b=5,c=4

M≔a,2,b,5,c,4

(1)
> 

3⁢M

a,6,b,15,c,12

(2)
> 

N≔MultiSetgeneralized⁡x=1.5,y=−12

N≔x,1.5,y,−12

(3)
> 

32⁢N

x,2.250000000,y,−34

(4)

Compatibility

• 

The MultiSet/* operator was introduced in Maple 2016.

• 

For more information on Maple 2016 changes, see Updates in Maple 2016.

See Also

MultiSet

MultiSet/intersect

MultiSet/minus

MultiSet/plus

MultiSet/subset

MultiSet/symmdiff

MultiSet/union