A very simple question (by example):
Consider two polynomials g and h:
What is the syntax for computing the composition of g with h? (As a polynomial.)
For instance, I would like to use CoefficientList on the result.
I know the @ operator and the subs command and have tried using them in various ways, but with no success.
(Of course, my question is general; the above is just an example.)
Edit: Additional question (which is my real question):
I'm writing a procedure that takes two polynomials g and h, and in which I define an unknown polynomial f. I want to compute its coefficients so that
f "composition" g = h
fCoeff:=seq(a[i],i=0..t) (to define the unknown coefficients. I can compute t.)
f := FromCoefficientList([fCoeff],x);
Then I would like to do something like:
comCoeff:=CoefficientList(f "composition" g,x)
If I have this, then I know how to solve for the unkown coefficients in f.