next up previous contents index
Next: euclid Up: EuclideanDomain Previous: divide,quo,rem   Contents   Index


divide!


\begin{usage}
divide!(x, y, z)
\end{usage}


Signature


\begin{params}
{\em x} & \% & An element of the ring (to be destroyed)\\
{\em...
...\em z} & \% & A placeholder for the quotient (to be destroyed)\\\end{params}

\begin{retval}
Returns $(q, r)$\ such that $x = q y + r$\ and either $r = 0$or ...
...wed to be destroyed or reused,
so x and z is lost after this call.
\end{retval}

\begin{remarks}
This function may cause x and z to be destroyed,
so do not use ...
...arily copying their
arguments and can thus create memory aliases.
\end{remarks}


See Also



Manuel Bronstein 2000-12-13