You can also do `list(S)`, or depending on what you're doing it might be
better to iterate over its elements, as Emmanuel wrote: `for u in S...`
On Sunday, November 20, 2022 at 8:54:25 AM UTC-8 gauri...@gmail.com wrote:
> Oh wow! That was easy!
>
> Thanks so much!
> G
>
> On Sun, Nov 20, 2022
Oh wow! That was easy!
Thanks so much!
G
On Sun, Nov 20, 2022 at 3:12 PM Emmanuel Charpentier <
emanuel.charpent...@gmail.com> wrote:
> No predefined method, but listing S’s elements seems easy :
>
> sage: R1.=GF(97)[]
> sage: p=lambda x:x^2+2
> sage: S=R1.quotient(p(t),'a')
> sage: L=[u for u i
No predefined method, but listing S’s elements seems easy :
sage: R1.=GF(97)[]
sage: p=lambda x:x^2+2
sage: S=R1.quotient(p(t),'a')
sage: L=[u for u in S]
sage: len(L)
9409
HTH,
Le dimanche 20 novembre 2022 à 07:39:27 UTC+1, gauri...@gmail.com a écrit :
> I am afraid I cannot seem to find th