next up previous contents index
Next: apply Up: UnivariateFreeAlgebra Previous: UnivariateFreeAlgebra   Contents   Index


add!


\begin{usage}
add!(p, c, m)\\ add!(p, c, m, q)
\end{usage}

\begin{signatures}
add!: & (\%, R, \htmlref{\texttt{Integer}}{Integer}) $\to$\...
...\%, R, \htmlref{\texttt{Integer}}{Integer}, \%) $\to$\ \% \\\end{signatures}

\begin{params}
{\em p} & \% & A polynomial or series (to be destroyed)\\
{\em...
...lynomial or series to be multiplied by $c P_m$\ and added to p\\\end{params}

\begin{retval}
add!(p, c, m) computes the sum $p + c P_m$, while
add!(p, c, m, ...
...is allowed to be negative in the second form but not
in the first.
\end{retval}

\begin{remarks}
The storage used by p is allowed
to be destroyed or reused, so...
...arily copying their
arguments and can thus create memory aliases.
\end{remarks}


Manuel Bronstein 2000-12-13