On 2 nov, 17:00, "Rob H." <[email protected]> wrote:
> Hi,
>
> so here is some sample code:
>
> var('chi,k')
> R.<x>=SR[]
> I=R.ideal(x^2)
> Rbar.<epsilon>=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[]
instead as you have been advised. However, this looks like a bug in
latex for me.
{{{
sage: expr
epsilon
sage: latex(expr)
epsilon - {\left(\chi^{{\left(k - 1\right)}}\right)}^{5} +
\chi^{{\left(2 \, k - 2\right)}} {\left(\chi^{{\left(k - 1\right)}}
\right)}^{3}
}}}
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org