Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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_() ?

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

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_() ?