[sage-support] Question on Partitions/Compositions/IntegerVectors

2013-04-29 Thread Andrew Juell
Suppose I want to generate partitions that are in an arithmetic progression with a particular step size...seems straightforward enough, so I just set max_slope and min_slope to that step size. Is this interpretation correct? Ps=Partitions(11,max_slope=-1, min_slope=-1) print Ps.cardinality() fo

[sage-support] Re: why this command doesn't work?

2013-04-29 Thread Simon King
Hi Neda, On 2013-04-29, Neda wrote: > I want to compute S(f,g) , but this command doesn't work and it said there > is no spol command, could you please tell me how can I compute it? > R.=PolynomialRing(QQ,3,'lex') > f=4*x^2*z-7*y^2 > g=x*y*z^2+3*x*z^4 > spol(f,g) spol is a function defined in t

[sage-support] why this command doesn't work?

2013-04-29 Thread Neda
Hello I want to compute S(f,g) , but this command doesn't work and it said there is no spol command, could you please tell me how can I compute it? R.=PolynomialRing(QQ,3,'lex') f=4*x^2*z-7*y^2 g=x*y*z^2+3*x*z^4 spol(f,g) -- You received this message because you are subscribed to the Google G