next up previous contents index
Next: setDegree! Up: UnivariateMonomial Previous: pthPower   Contents   Index


setCoefficient!


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


Signature


\begin{params}
{\em p} & \% & A monomial\\
{\em c} & R & A scalar\\\end{params}

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

\begin{retval}
Returns the new coefficient $c$.
\end{retval}


See Also



Manuel Bronstein 2000-12-13