Changeset 803 for branches/f4grobner
- Timestamp:
- 2015-06-08T23:42:46-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/term.lisp
r802 r803 34 34 (in-package :term) 35 35 36 (defstruct (term 37 (:include monom) 38 ;; BOA constructor. TODO: avoid code duplication with MONOM? 39 (:constructor make-term (monom &key 40 (ring *ring-of-integers* ring-supplied-p) 41 (coeff (cond 42 (ring-supplied-p (funcall (ring-unit ring))) 43 (t 44 (error "Coefficient or ring must be supplied.")))) 45 (exponents (monom-exponents monom)))) 36 (defstruct (term) 46 37 ;;(:constructor make-term-variable) 47 38 ;;(:type list) 48 39 ) 40 (monom :type monom) 49 41 (coeff nil)) 50 42
Note:
See TracChangeset
for help on using the changeset viewer.