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

Online Help

All Products    Maple    MapleSim


MultiSet/IsGeneralized

query whether negative multiplicities are permitted

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

IsGeneralized( M );

Parameters

M

-

MultiSet; a MultiSet

Description

• 

IsGeneralized(M) returns true if the MultiSet M was created via a constructor call of the form MultiSet[generalized].

Examples

> 

M≔MultiSet⁡a=2,b=5

M≔a,2,b,5

(1)
> 

IsGeneralized⁡M

false

(2)
> 

N≔MultiSetgeneralized⁡c=−3,d=12,e=3.14159,f

N≔c,−3,d,12,e,3.14159,f,1

(3)
> 

IsGeneralized⁡N

true

(4)

Compatibility

• 

The MultiSet/IsGeneralized command was introduced in Maple 2016.

• 

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

See Also

MultiSet

MultiSet/Insert

MultiSet/Remove