aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/strap/DIFRING.lsp
blob: c19b4ed8a01e5ff101c061acbb72ba34cae16be9 (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=#:G1396
            (|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)