[sage-support] monic list

2010-09-08 Thread andrew ewart
supose i have an input list (which is a list of unknown size) and where each term is a polynomial of form f(x,y) i want to define a function moniclist(list) such that the output makes each term of list monic wrt x eg if list=[2*x, x^2*y^2+x+1, 4*x^2+y^2+3] output would be[x, x^2+x+1, x^2+y^2+3] --

[sage-support] monic list

2010-09-08 Thread andrew ewart
supose i have an input list (which is a list of unknown size) and where each term is a polynomial of form f(x,y) i want to define a function moniclist(list) such that the output makes each term of list monic wrt x eg if list=[2*x, x^2*y^2+x+1, 4*x^2+y^2+3] output would be[x, x^2+x+1, x^2+y^2+3] --