cgal/Polynomial/doc_tex/Polynomial_ref/PolynomialTraits_d_Degree.tex

36 lines
958 B
TeX

\begin{ccRefConcept}{PolynomialTraits_d::Degree}
\ccDefinition
This \ccc{AdaptableFunctor} computes the degree
of a \ccc{PolynomialTraits_d::Polynomial_d}.
\ccRefines
\ccc{AdaptableFunctor}
\ccTypes
\ccSetThreeColumns{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}{xxx}{}
\ccTypedef{typedef int 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 degree of $p$ with respect to the outermost variable $x_d$.}
\ccMethod{result_type operator()(first_argument_type p, int i);}
{Computes the degree of $p$ with respect to variable $x_i$.
\ccPrecond $0<i \leq d$
}
%\ccHasModels
\ccSeeAlso
\ccRefIdfierPage{Polynomial_d}\\
\ccRefIdfierPage{PolynomialTraits_d}\\
\ccRefIdfierPage{PolynomialTraits_d::TotalDegree}
\end{ccRefConcept}