Dear all

I am getting trouble on how i can find order of an element in a quotient
polynomial ring USING SAGE:

1.Example, I have this code in sage I want to find the order of polynomial
h(x) in Quotient ring $\mathbb{F}_{2}[x]/<x^3+1>$.
F.<x>=GF(2)[]
Q.<x>=F.quotient(x^3+1)
h=Q.f=x+1
2. Does it need to x^3+1 to be irreducible in $\mathbb{F}_{2}[x]$?

Thanks

regards

G.Chacha


On 28 April 2017 at 23:25, Nils Bruin <nbr...@sfu.ca> wrote:

> Yes, clearly our reals should have __format__ support. In fact, this could
> work a lot better than the "%" formatting support we have now, which I
> think is provided by the "__float__" method. It has issues:
>
> sage: '%.60f'%(pi.n(300),)
> '3.141592653589793115997963468544185161590576171875000000000000'
> sage: '%.10f'%(RR(10)^(10^10))
> 'inf'
>
> I don't think we can fix that. I haven't been able to find the
> documentation that specifies that "__float__" is called on the argument
> meant to fill in for a %f field, but it's pretty clear that happens.
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-support@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to