aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2024-03-04 00:25:57 +0100
committerNao Pross <np@0hm.ch>2024-03-04 00:25:57 +0100
commit14df14aa8620026ab9a14d7936834cf4f6879650 (patch)
tree59394e5a57bf4982a120bd4be9267efc8e62d1c0
parentRename algebraic operations with algebra prefix (diff)
downloadmdpoly-14df14aa8620026ab9a14d7936834cf4f6879650.tar.gz
mdpoly-14df14aa8620026ab9a14d7936834cf4f6879650.zip
Add stub for rational algebra
-rw-r--r--mdpoly/algebra.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/mdpoly/algebra.py b/mdpoly/algebra.py
index b76a849..4342a5e 100644
--- a/mdpoly/algebra.py
+++ b/mdpoly/algebra.py
@@ -351,6 +351,17 @@ class PartialDiff(Expr, HasRepr, PolyRingAlgebra):
class Diff(Expr, PolyRingAlgebra):
""" Total differentiation. """
+
+# ┏━┓┏━┓╺┳╸╻┏━┓┏┓╻┏━┓╻ ┏━┓╻ ┏━╸┏━╸┏┓ ┏━┓┏━┓
+# ┣┳┛┣━┫ ┃ ┃┃ ┃┃┗┫┣━┫┃ ┣━┫┃ ┃╺┓┣╸ ┣┻┓┣┳┛┣━┫
+# ╹┗╸╹ ╹ ╹ ╹┗━┛╹ ╹╹ ╹┗━╸ ╹ ╹┗━╸┗━┛┗━╸┗━┛╹┗╸╹ ╹
+
+
+class RationalFieldAlgebra(AlgebraicStructure, Protocol):
+ """ Endows with the algebraic structure of a field of rational functions """
+
+
+
# ┏┳┓┏━┓╺┳╸┏━┓╻╻ ╻ ┏━┓╻ ┏━╸┏━╸┏┓ ┏━┓┏━┓
# ┃┃┃┣━┫ ┃ ┣┳┛┃┏╋┛ ┣━┫┃ ┃╺┓┣╸ ┣┻┓┣┳┛┣━┫
# ╹ ╹╹ ╹ ╹ ╹┗╸╹╹ ╹ ╹ ╹┗━╸┗━┛┗━╸┗━┛╹┗╸╹ ╹