Thanks for your answers.
I realize that the problem is because I am working over a polynomial
ring over the symbolic ring, but I don't see why that should be
forbidden. Especially, since simplifying in a polynomial ring simply
involves simplifying each coefficient.
Anyway, I tried working over QQ
On 2 nov, 17:00, "Rob H." wrote:
> Hi,
>
> so here is some sample code:
>
> var('chi,k')
> R.=SR[]
> I=R.ideal(x^2)
> Rbar.=R.quotient_ring(I)
> expr=Rbar(epsilon-(chi^(k-1))^5+chi^(2*k-2)*(chi^(k-1))^3)
> view(expr)
> print (expr)
For the kind of operations you are doing, you should work in QQ[]
On Wed, Nov 3, 2010 at 9:16 AM, Rob H. wrote:
> Here's another simple example of basic simplifications that aren't
> processed:
>
> Does anyone have any suggestions on how to fix/circumvent these
> problems?
Don't use polynomial rings over the "symbolic ring" -- the "symbolic
ring" is not really
On Nov 3, 12:16 pm, "Rob H." wrote:
> Here's another simple example of basic simplifications that aren't
> processed:
>
> P.=SR[]
> F=P.fraction_field()
> print F(x/x)
> print simplify(F(x/x))
>
> Output:
> x/x
> x/x
>
> Does anyone have any suggestions on how to fix/circumvent these
> problems?
Here's another simple example of basic simplifications that aren't
processed:
P.=SR[]
F=P.fraction_field()
print F(x/x)
print simplify(F(x/x))
Output:
x/x
x/x
Does anyone have any suggestions on how to fix/circumvent these
problems?
Thanks,
+Rob
--
To post to this group, send email to sage-s