First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 12 years ago

Neda gravatar image

Polynomial division

hello I found this post from sage documents for division of two polynomials

def division(dividend, divisor) : print 'quotient: ', (dividend._maxima_().divide(divisor).sage())[0] print 'remainder: ', (dividend._maxima_().divide(divisor).sage())[1] but could you please explain a little bit about this post? such as what is divided.maxima_() ?

click to hide/show revision 2
No.2 Revision

Polynomial divisiondivision command

hello I found this post from sage documents for division of two polynomials

def division(dividend, divisor) : print 'quotient: ', (dividend._maxima_().divide(divisor).sage())[0] print 'remainder: ', (dividend._maxima_().divide(divisor).sage())[1] (dividend._maxima_().divide(divisor).sage())[1]

but could you please explain a little bit about this post? such as what is divided.maxima_() ?

click to hide/show revision 3
No.3 Revision

updated 12 years ago

kcrisman gravatar image

Polynomial division command

hello I found this post from sage documents for division of two polynomials

def division(dividend, divisor) : 
    print 'quotient: ', (dividend._maxima_().divide(divisor).sage())[0] 
    print 'remainder: ', (dividend._maxima_().divide(divisor).sage())[1]

(dividend._maxima_().divide(divisor).sage())[1]

but could you please explain a little bit about this post? such as what is divided.maxima_() ?