interspace the elements of a list with an object
Collect( L )
The Collect( L ) function produces a list of pairs [ expr, f ] from the input list L, for which expr is an expression occurring in L and f is the (positive) integral number of occurrences of expr in L.
Note that the order of the output is session dependent, and is therefore not defined.
The ListTools[Collect] command was introduced in Maple 2017.
For more information on Maple 2017 changes, see Updates in Maple 2017.
Download Help Document