Skip to content

Commit

Permalink
Merge pull request #225 from Jake-Moss/main
Browse files Browse the repository at this point in the history
Improve mpoly context interface
  • Loading branch information
oscarbenjamin authored Sep 15, 2024
2 parents 8b2a3ee + 3e1c60c commit ae4fe25
Show file tree
Hide file tree
Showing 9 changed files with 409 additions and 582 deletions.
8 changes: 4 additions & 4 deletions src/flint/flint_base/flint_base.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ cdef class flint_mpoly_context(flint_elem):
cdef public object py_names
cdef const char ** c_names

cdef class flint_mod_mpoly_context(flint_mpoly_context):
cdef readonly bint __prime_modulus

cdef class flint_mpoly(flint_elem):
cdef _add_scalar_(self, other)
cdef _sub_scalar_(self, other)
Expand Down Expand Up @@ -54,8 +57,5 @@ cdef class flint_mat(flint_elem):
cdef class flint_series(flint_elem):
pass

cpdef enum Ordering:
lex, deglex, degrevlex

cdef ordering_t ordering_py_to_c(ordering: Ordering)
cdef ordering_t ordering_py_to_c(ordering)
cdef ordering_c_to_py(ordering_t ordering)
Loading

0 comments on commit ae4fe25

Please sign in to comment.