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

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

MMultiSeta=2,b=5

Ma,2,b,5

(1)

IsGeneralizedM

false

(2)

NMultiSetgeneralizedc=3,d=12,e=3.14159,f

Nc,−3,d,12,e,3.14159,f,1

(3)

IsGeneralizedN

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