Thanks for the reply! That's a perfect example of what I am doing
now. Can I go one level higher and define my generating function as a
product of terms *while leaving the actual degrees, coefficients, and
even the number of dimensions symbolic*. So instead of getting
something like
(5*x0*x1 + 1)*(3*x0*x1*x4 + 1)
I want to get something like
product(exponent_list, lambda c,d: 1 + c * pot(x, d))
Maybe the second argument should be some kind of a paramaterizable
expression. So what I'm looking for is a "first-class" product/
summation construct, and an arbitrary number of generators for my
formal power sum. Even a way to specify the generic construct
vector_power(x, d)
that will float around in my expressions until I take a derivative.
For example, I want something notionally like the following.
sage: vector_power(x,d).derivative(x[1])
d[1] * vector_power(x,d) / x[1]
So the ``vector_power`` construct would have to know how to use the
power rule of differentiation.
Does this make sense? Is it possible?
Thanks!
- Ryan