cgal/Polynomial/doc_tex/Polynomial_ref/PolynomialTraits_d_Translat...

37 lines
1.2 KiB
TeX

\begin{ccRefConcept}{PolynomialTraits_d::TranslateHomogeneous}
\ccDefinition
This \ccc{AdaptableFunctor} translate a
\ccc{PolynomialTraits_d::Polynomial_d} with respect to one variable.
\ccRefines
\ccc{AdaptableFunctor}
\ccTypes
\ccSetThreeColumns{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}{xxx}{}
\ccCreationVariable{translate_homogeneous}
\ccTypedef{typedef PolynomialTraits_d::Polynomial_d result_type;}{}\ccGlue
\ccOperations
\ccMethod{result_type operator()(PolynomialTraits_d::Polynomial_d p,
PolynomialTraits_d::Coefficient a,
PolynomialTraits_d::Coefficient b);}
{ return $b^{degree}\cdot p(x+a)/b$, with respect to the outermost variable. }
\ccMethod{result_type operator()(PolynomialTraits_d::Polynomial_d p,
PolynomialTraits_d::Coefficient a,
PolynomialTraits_d::Coefficient b,
int i);}
{ return $b^{degree}\cdot p(x+a)/b$, with respect to variable $x_i$.
\ccPrecond $0 \leq i < d$
}
%\ccHasModels
\ccSeeAlso
\ccRefIdfierPage{Polynomial_d}\\
\ccRefIdfierPage{PolynomialTraits_d}\\
\end{ccRefConcept}