aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/strap/DIFRING.lsp
blob: 2d5ab93cc9667283c07c59bf7b88992dc98fc15a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
(/VERSIONCHECK 2) 

(DEFPARAMETER |DifferentialRing;AL| 'NIL) 

(DEFUN |DifferentialRing;| ()
  (LET ((#0=#:G1397
            (|Join| (|Ring|)
                    (|mkCategory| '|domain|
                        '(((|differentiate| ($ $)) T) ((D ($ $)) T)
                          ((|differentiate|
                               ($ $ (|NonNegativeInteger|)))
                           T)
                          ((D ($ $ (|NonNegativeInteger|))) T))
                        NIL '((|NonNegativeInteger|)) NIL))))
    (|setShellEntry| #0# 0 '(|DifferentialRing|))
    #0#)) 

(DEFUN |DifferentialRing| ()
  (COND
    (|DifferentialRing;AL|)
    (T (SETQ |DifferentialRing;AL| (|DifferentialRing;|))))) 

(MAKEPROP '|DifferentialRing| 'NILADIC T)