Maxima Function
partpol (psym, lvar)
psym is a symmetric polynomial in the variables of the list lvar. This function retturns its partitioned representation.
(%i1) partpol (-a*(x + y) + 3*x*y, [x, y]); (%o1) [[3, 1, 1], [- a, 1, 0]]