cgal/Polynomial/doc_tex/Polynomial_ref/PolynomialTraits_d_Shift.tex

36 lines
964 B
TeX

\begin{ccRefConcept}{PolynomialTraits_d::Shift}
\ccDefinition
This \ccc{AdaptableFunctor} shifts a \ccc{PolynomialTraits_d::Polynomial_d} by
some power of a variable.
\ccRefines
\ccc{AdaptableFunctor}
\ccTypes
\ccCreationVariable{shift}
\ccSetThreeColumns{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}{xxx}{}
\ccTypedef{typedef PolynomialTraits_d::Polynomial_d result_type;}{}
\ccOperations
\ccMethod{result_type operator()(PolynomialTraits_d::Polynomial_d p,
int e);}
{ return $p * x_{d-1}^e$
\ccPrecond $0 \leq e$ }
\ccMethod{result_type operator()(PolynomialTraits_d::Polynomial_d p,
int e,
int i);}
{ return $p * x_i^e$
\ccPrecond $0 \leq e$
\ccPrecond $0 \leq i < d$
}
%\ccHasModels
\ccSeeAlso
\ccRefIdfierPage{Polynomial_d}\\
\ccRefIdfierPage{PolynomialTraits_d}\\
\end{ccRefConcept}