next up previous contents index
Next: UnivariatePolynomialAlgebra Up: UnivariateMonomial Previous: setCoefficient!   Contents   Index


setDegree!


\begin{usage}
setDegree!(p, c)
\end{usage}


Signature


\begin{params}
{\em p} & \% & A monomial\\
{\em n} & \htmlref{\texttt{Integer}}{Integer} & An exponent\\\end{params}

\begin{descr}
Sets the degree of $p$\ to $n$,{\it i.e.}changes $p = c\; x^m$\ into
$c\; x^n$ \end{descr}

\begin{retval}
Returns the new degree $n$.
\end{retval}


See Also



Manuel Bronstein 2000-12-13