\begin{ccRefConcept}{PolynomialTraits_d::LeadingCoefficient}

\ccDefinition

This \ccc{AdaptableFunctor} computes the leading coefficient
of a \ccc{PolynomialTraits_d::Polynomial_d}. 

\ccRefines 
\ccc{AdaptableFunctor}


\ccTypes
\ccSetThreeColumns{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}{xxx}{}
\ccTypedef{typedef PolynomialTraits_d::Coefficient    result_type;}{}\ccGlue
\ccTypedef{typedef PolynomialTraits_d::Polynomial_d first_argument_type;}{}\ccGlue
\ccTypedef{typedef int                              second_argument_type;}{}

\ccOperations
\ccMethod{result_type operator()(first_argument_type p);}
         {Computes the leading coefficient of $p$ with respect to the outermost variable $x_d$. }
\ccMethod{result_type operator()(first_argument_type p, int i);}
         {Computes the leading coefficient of $p$ with respect to variable $x_i$.
         \ccPrecond $0<i \leq d$        
         }

%\ccHasModels
 
\ccSeeAlso

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

\end{ccRefConcept}
