mirror of https://github.com/CGAL/cgal
37 lines
921 B
TeX
37 lines
921 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}{}
|
|
|
|
\ccCreationVariable{degree}
|
|
\ccTypedef{typedef int result_type;}{}\ccGlue
|
|
\ccTypedef{typedef PolynomialTraits_d::Polynomial_d argument_type;}{}
|
|
|
|
\ccOperations
|
|
\ccMethod{result_type operator()(argument_type p);}
|
|
{Computes the degree of $p$ with respect to the outermost variable $x_{d-1}$.}
|
|
\ccMethod{result_type operator()(argument_type p, int i);}
|
|
{Computes the degree of $p$ with respect to variable $x_i$.
|
|
\ccPrecond $0 \leq i < d$
|
|
}
|
|
|
|
%\ccHasModels
|
|
|
|
\ccSeeAlso
|
|
|
|
\ccRefIdfierPage{Polynomial_d}\\
|
|
\ccRefIdfierPage{PolynomialTraits_d}\\
|
|
\ccRefIdfierPage{PolynomialTraits_d::TotalDegree}
|
|
|
|
\end{ccRefConcept}
|