On Thu, 7 Oct 2021 at 20:53, Ralf Hemmecke <[email protected]> wrote:
>
> > This raises the question, why is FiniteField(p,n) not convertible to
> > Integer? I mean is it just an omission?
>
> I would like to say, I leave this to you as an exercise. ;-)
> Of course, conversion can "somehow" be done.
> For PrimeField the conversion is quite natural, but how would you
> convert between the integers 0,1,2,3 and the elements of FiniteField(2,2)?
>
>
> (339) -> FF ==> FiniteField(2,2)
> (340) -> a1 := 1$FF
>    (340)  1
>
> (341) -> a2 := a1+a1
>    (341)  0
>
> (342) -> a3 := a1+a1+a1
>    (342)  1
>
> Hmmmm... isn't that strange? ;-)
>
> Ralf
>
> --
> You received this message because you are subscribed to the Google Groups 
> "FriCAS - computer algebra system" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/fricas-devel/f9610a89-5f35-1cc6-fc74-fb25f3a2aaf7%40hemmecke.org.

Hah, turns out that finite fields are something quite different from
what I assumed them to be. Thank you.

Neven

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/CAL%2BbK4OT82C9T%2B_GH1aNdxmD1CBeQneQr5f7gGwccUpQo6-0zw%40mail.gmail.com.

Reply via email to