\begin{ccRefConcept}{PolynomialTraits_d::UnivariateContent}

\ccDefinition

This \ccc{AdaptableFunctor} computes the content of a 
\ccc{PolynomialTraits_d::Polynomial_d} 
with respect to the univariate (recursive) view on the 
polynomial. In particular it computes the gcd of all 
coefficients  with respect to one variable. 

\ccRefines 
\ccc{AdaptableFunctor}

\ccTypes

\ccCreationVariable{univariate_content}
\ccSetThreeColumns{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}{xxx}{}
\ccTypedef{typedef PolynomialTraits_d::Coefficient    result_type;}{}\ccGlue
\ccTypedef{typedef PolynomialTraits_d::Polynomial_d argument_type;}{}\ccGlue

\ccOperations
\ccMethod{result_type operator()(argument_type p);}
         {Computes the content of $p$ with respect to the outermost variable $x_{d-1}$. }
\ccMethod{result_type operator()(argument_type p, int i);}
         {Computes the content of $p$ with respect to variable $x_i$. 
          \ccPrecond $0 \leq i  < d$
         }

%\ccHasModels

\ccSeeAlso

\ccRefIdfierPage{Polynomial_d}\\
\ccRefIdfierPage{PolynomialTraits_d}

\end{ccRefConcept}
