D.7.5.3 Quotient
................
Procedure from library zeroset.lib (see zeroset_lib).

Usage:
Quotient(f, g); where f,g are polynomials;

Purpose:
compute the quotient q and remainder r s.t. f = g*q + r, deg(r) < deg(g)

Return:
list of polynomials
    _[1] = quotient  q
  _[2] = remainder r
  

Assume:
basering = Q[x] or Q(a)[x]

Example:
LIB "zeroset.lib";
ring R = (0,a), x, lp;
minpoly = a2+1;
poly f =  x4 - 2;
poly g = x - a;
list qr = Quotient(f, g);
qr;
==> [1]:
==>    x3+(a)*x2-x+(-a)
==> [2]:
==>    0
qr[1]*g + qr[2] - f;
==> 1

<font size="-1">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; User manual for <a href="http://www.singular.uni-kl.de/"><i>Singular</i></a> version 2-0-4, October 2002,
generated by <a href="http://www.gnu.org/software/texinfo/"><i>texi2html</i></a>.
</font>

</body>
</html>
