Changeset 403 for branches/f4grobner
- Timestamp:
- 2015-06-06T19:06:53-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/term.lisp
r402 r403 22 22 (defpackage "TERM" 23 23 (:use :cl :monomial) 24 (:export "MAKE-TERM-VARIABLE"24 (:export 25 25 "MAKE-TERM" 26 "MAKE-TERM-VARIABLE" 27 "TERM-MUL" 26 28 "TERM-SUGAR")) 27 29 … … 51 53 (coeff nil)) 52 54 53 (defun term-sugar (term)54 (monom-sugar (term-monom term)))55 56 57 55 (defun term-mul (ring term1 term2) 58 56 "Returns the product of the terms TERM1 and TERM2, … … 62 60 (unless (funcall (ring-zerop ring) c) 63 61 (make-term (monom-mul (term-monom term1) (term-monom term2)) c)))) 62 63 (defun term-sugar (term) 64 (monom-sugar (term-monom term)))
Note:
See TracChangeset
for help on using the changeset viewer.