- Timestamp:
- 2015-06-23T10:01:33-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monom.lisp
r3315 r3317 95 95 (setf (slot-value self 'exponents) 96 96 (make-array (list dimension) :initial-element (if exponent-supplied-p exponent 0) 97 :element-type 'exponent)))) 98 (t 99 (error "Initarg DIMENSION must be supplied if EXPONENT is supplied."))))) 97 :element-type 'exponent))) 98 (t 99 (error "Initarg DIMENSION must be supplied if EXPONENT is supplied.")))))) 100 101 (defmethod monom-dimension ((m monom)) 102 (length (monom-exponents m))) 100 103 101 104 (defmethod r-equalp ((m1 monom) (m2 monom))
Note:
See TracChangeset
for help on using the changeset viewer.