
A command to transform the selected Polynomial object to a new domain.
The polynomial is transformed from domain [x_{min}, x_{max}] to domain [Xmin, Xmax] in such a way that its form stays the same. This is accomplished by first calculating:
f(x′) = Σ_{k=1..numberOfCoefficients} c_{k} x′^{k}, where 
x′ = a x + b, 
and then collecting terms of equal degree. The a and b are defined as
a = (x_{min} – x_{max}) / (Xmin – Xmax) 
b = x_{min} – a Xmin 
© djmw, June 10, 1999