Can I create an abstract finite field with Sympy? (Any number of elements)

22 views
Skip to first unread message

Luna Tuna

unread,
Mar 15, 2020, 12:37:52 AM3/15/20
to sympy
Hi,

I want to make my computer understand this simple sentence using TextBlob for part-of-speech tagging and Sympy for doing concrete math.

"Let F be a finite field."

However, Sympy seems to want a number of elements specified.  So How would I abstract away from the library to handle abstract algebra more readily?

I was thinking create my own class FiniteField : Field that would return a sympy object:

class FiniteField(Field):
      def concrete_example(num_elems):
            return a sympy object



Aaron Meurer

unread,
Mar 15, 2020, 12:44:54 AM3/15/20
to sympy
What sorts of operations would you want to do with F?

Aaron Meurer
> --
> You received this message because you are subscribed to the Google Groups "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/0124a5a1-07b1-4e96-9f42-98576847d806%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages