Is there a built in function that given  n variables and d degree,
compute all the terms from degree 0 to d  of all those n variables
combined ? The # of terms =  bionomial(n+d,d)

For example

variables  =  y, q, d, x, dd, r
degree = 2

results

[1, y, y^2, q, q^2, q*y, d, d^2, d*y, d*q, x, x^2, x*y, q*x, d*x, dd,
dd^2, dd*y, dd*q, d*dd, dd*x, r, r^2, r*y, q*r, d*r, r*x, dd*r]

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to