Rem is the inert form of rem.
Rem returns the euclidean remainder between two polynomials
without evaluation.
It is used in conjonction with mod in Maple syntax mode to compute
the euclidean remainder of the division of two
polynomials with coefficients in ℤ/pℤ.
Input in Xcas mode :
^
3+x^
2+1) mod 13,(2*x^
2+4) mod 13)Output :
^
3+x^
2+1)%13,(2*x^
2+4)%13)you need to eval(ans()) to get :
Input in Maple mode :
^
3+x^
2+1,2*x^
2+4) mod 13Output :
Input in Maple mode :
^
2+2*x,x^
2+6*x+5) mod 5Output :