aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/strap/DIFRING.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/strap/DIFRING.lsp')
-rw-r--r--src/algebra/strap/DIFRING.lsp28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/algebra/strap/DIFRING.lsp b/src/algebra/strap/DIFRING.lsp
new file mode 100644
index 00000000..3c823149
--- /dev/null
+++ b/src/algebra/strap/DIFRING.lsp
@@ -0,0 +1,28 @@
+
+(/VERSIONCHECK 2)
+
+(DEFPARAMETER |DifferentialRing;AL| 'NIL)
+
+(DEFUN |DifferentialRing| ()
+ (LET (#:G1387)
+ (COND
+ (|DifferentialRing;AL|)
+ (T (SETQ |DifferentialRing;AL| (|DifferentialRing;|))))))
+
+(DEFUN |DifferentialRing;| ()
+ (PROG (#0=#:G1385)
+ (RETURN
+ (PROG1 (LETT #0#
+ (|Join| (|Ring|)
+ (|mkCategory| '|domain|
+ '(((|differentiate| ($ $)) T)
+ ((D ($ $)) T)
+ ((|differentiate|
+ ($ $ (|NonNegativeInteger|)))
+ T)
+ ((D ($ $ (|NonNegativeInteger|))) T))
+ NIL '((|NonNegativeInteger|)) NIL))
+ |DifferentialRing|)
+ (SETELT #0# 0 '(|DifferentialRing|))))))
+
+(MAKEPROP '|DifferentialRing| 'NILADIC T)