cgal/Polynomial/doc_tex/Polynomial_ref/PolynomialTraits_d_Negate.tex

32 lines
923 B
TeX

\begin{ccRefConcept}{PolynomialTraits_d::Negate}
\ccDefinition
This \ccc{AdaptableFunctor} negates a \ccc{PolynomialTraits_d::Polynomial_d} with
respect to one variable.
\ccRefines
\ccc{AdaptableFunctor}
\ccTypes
\ccSetThreeColumns{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}{xxx}{}
\ccCreationVariable{negate}
\ccTypedef{typedef PolynomialTraits_d::Polynomial_d result_type;}{}\ccGlue
\ccTypedef{typedef PolynomialTraits_d::Polynomial_d argument_type;}{}
\ccOperations
\ccMethod{result_type operator()(argument_type p);}
{ return $p(-x)$, with respect to the outermost variable. }
\ccMethod{result_type operator()(argument_type p,
int i);}
{ return $p(-x)$, with respect to variable $x_i$.
\ccPrecond $0 \leq i < d$
}
%\ccHasModels
\ccSeeAlso
\ccRefIdfierPage{Polynomial_d}\\
\ccRefIdfierPage{PolynomialTraits_d}\\
\end{ccRefConcept}