Re: [sage-support] Order of Variables of Polynomial Matters

2024-07-28 Thread Dima Pasechnik
On Sun, Jul 28, 2024 at 6:51 AM 'Animesh Shree' via sage-support wrote: > > I was looking into this issue > > This throws error: > - > sage: R1. = QQ[] > sage: p = (x^2 - y^2) * (x + y + z) > sage: S = QQ['z'][

Re: [sage-support] Order of Variables of Polynomial Matters

2024-07-27 Thread 'Animesh Shree' via sage-support
I was looking into this issue This throws error: - sage: R1. = QQ[] sage: p = (x^2 - y^2) * (x + y + z) sage: S = QQ['z']['x,y'] sage: try:

Re: [sage-support] Order of Variables of Polynomial Matters

2024-07-27 Thread Dima Pasechnik
On Sat, Jul 27, 2024 at 9:59 PM 'Animesh Shree' via sage-support wrote: > > I saw this behavior > > sage: R1. = QQ[] > sage: R2. = QQ[] # Rearrange variables of R1 > sage: R1 > Multivariate Polynomial Ring in x, y, z over Rational Field > sage: R2 > Multivariate Polynomial Ring in z, x, y over Ra

[sage-support] Order of Variables of Polynomial Matters

2024-07-27 Thread 'Animesh Shree' via sage-support
I saw this behavior sage: R1. = QQ[] sage: R2. = QQ[] # Rearrange variables of R1 sage: R1 Multivariate Polynomial Ring in x, y, z over Rational Field sage: R2 Multivariate Polynomial Ring in z, x, y over Rational Field sage: R1 is R2 False sage: print(R1.gens(), R1.variable_names()) (x, y, z) ('