This repository has been archived by the owner on Jan 30, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Matthias Koeppe
committed
Jan 22, 2023
1 parent
960506b
commit 19255e8
Showing
10 changed files
with
54 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from sage.structure.element cimport CommutativeAlgebraElement | ||
|
||
|
||
cdef class CommutativePolynomial(CommutativeAlgebraElement): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
cdef class CommutativePolynomial(CommutativeAlgebraElement): | ||
r""" | ||
Abstract base class for commutative polynomials in any number of variables | ||
It is a common base for :class:`~sage.rings.polynomial.polynomial_element.Polynomial`, | ||
:class:`~sage.rings.polynomial.multi_polynomial.MPolynomial`, and | ||
:class:`~sage.rings.polynomial.infinite_polynomial_element.InfinitePolynomial`. | ||
""" | ||
|
||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
from sage.structure.element cimport MPolynomial as MPolynomial_base | ||
from .commutative_polynomial cimport CommutativePolynomial | ||
|
||
cdef class MPolynomial(MPolynomial_base): | ||
|
||
cdef class MPolynomial(CommutativePolynomial): | ||
cdef long _hash_c(self) except -1 | ||
cpdef _mod_(self, right) | ||
cpdef dict _mpoly_dict_recursive(self, tuple vars=*, base_ring=*) | ||
|
||
|
||
cdef class MPolynomial_libsingular(MPolynomial): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters