\begin{ccRefConcept}{PolynomialTraits_d::Invert} \ccDefinition This \ccc{AdaptableUnaryFunction} inverts one variable in a given \ccc{PolynomialTraits_d::Polynomial_d}, that is, for a given polynomial $p$ it computes $x^{degree(p)}p(1/x)$. Note that this functor operates on the polynomial in the univariate view, that is, the polynomial is considered as a univariate polynomial in one specific variable. This functor is provided for efficiency reasons, since this operation just inverts the order of the coefficients with respect to the specified variable. \ccRefines \ccc{AdaptableUnaryFunction} \ccTypes \ccSetThreeColumns{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}{xxx}{} \ccCreationVariable{fo} \ccTypedef{typedef PolynomialTraits_d::Polynomial_d result_type;}{}\ccGlue \ccTypedef{typedef PolynomialTraits_d::Polynomial_d argument_type;}{} \ccOperations \ccMethod{result_type operator()(argument_type p);}{ Returns $x^{degree(p)}p(1/x)$, where x refers to the outermost variable $x_{d-1}$. } \ccMethod{result_type operator()(argument_type p, int i);}{ Return $x^{degree(p,i)}p(1/x)$, where x refers to the variable $x_{i}$. \ccPrecond $0 \leq i < d$ } %\ccHasModels \ccSeeAlso \ccRefIdfierPage{Polynomial_d}\\ \ccRefIdfierPage{PolynomialTraits_d}\\ \end{ccRefConcept}