convert/multiset - convert to a multiset
|
Calling Sequence
|
|
convert( f, multiset )
|
|
Parameters
|
|
f
|
-
|
table, list, or algebraic expression
|
|
|
|
|
Description
|
|
•
|
If f is a table, each index is interpreted as a value and the associated entry (which should be an integer) is interpreted as its multiplicity.
|
•
|
If f is an algebraic expression, each factor is interpreted as a value, and the exponent to which this factor is raised (which should be an integer) is interpreted as its multiplicity.
|
•
|
If f is a list, the number of instances of each entry in the list is interpreted as its multiplicity.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
|
|
Download Help Document
Was this information helpful?