divide - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Algebra : Polynomials : divide

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+xy+y2

(4)

See Also

Divide

gcd

Rem

rem

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam