divide - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


divide

exact polynomial division

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

divide(a, b, 'q')

Parameters

a, b

-

polynomials with rational number coefficients

q

-

(optional) unevaluated name

Description

• 

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.

Examples

dividex3+5x1,x+1,q

false

(1)

q

q

(2)

dividex3y3,xy,q

true

(3)

q

x2+yx+y2

(4)

See Also

Divide

gcd

Rem

rem