divide
exact polynomial division
Calling Sequence
Parameters
Description
Examples
divide(a, b, 'q')
a, b
-
polynomials with rational number coefficients
q
(optional) unevaluated name
divide checks if the polynomial b divides a over the rationals. If so, true is returned; otherwise false is returned.
If the division is successful and there is a third argument 'q', then the value of the quotient is assigned to q. In the case of an unsuccessful division the name q will not be affected.
See Also
Divide
gcd
Rem
rem
Download Help Document