MultiSet/IsGeneralized
query whether negative multiplicities are permitted
Calling Sequence
Parameters
Description
Examples
Compatibility
IsGeneralized( M );
M
-
MultiSet; a MultiSet
IsGeneralized(M) returns true if the MultiSet M was created via a constructor call of the form MultiSet[generalized].
M≔MultiSet⁡a=2,b=5
M≔a,2,b,5
IsGeneralized⁡M
false
N≔MultiSetgeneralized⁡c=−3,d=12,e=3.14159,f
N≔c,−3,d,12,e,3.14159,f,1
IsGeneralized⁡N
true
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
Download Help Document