Changeset 4503
- Timestamp:
- 2016-06-17T10:45:42-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monom.lisp
r4496 r4503 30 30 "MONOM-ELT" 31 31 "TOTAL-DEGREE" 32 "SUGAR"33 32 "MULTIPLY-BY" 34 33 "DIVIDE-BY" … … 172 171 (reduce #'+ exponents :start start :end end)))) 173 172 174 (defgeneric sugar (m &optional start end)175 (:documentation "Return the sugar of a monomial M. Optinally, a range176 of variables may be specified with arguments START and END.")177 (:method ((m monom) &optional (start 0) (end (monom-dimension m)))178 (declare (type fixnum start end))179 (total-degree m start end)))180 181 173 (defmethod multiply-by ((self monom) (other monom)) 182 174 (with-slots ((exponents1 exponents))
Note:
See TracChangeset
for help on using the changeset viewer.