- Timestamp:
- 2015-06-08T20:52:37-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monomial.lisp
r746 r747 101 101 `(elt (monom-exponents ,m) ,index)) 102 102 103 (defun monom-total-degree (m &optional (start 0) (end ( length (monom-exponents m))))103 (defun monom-total-degree (m &optional (start 0) (end (monom-dimension m))) 104 104 "Return the todal degree of a monomoal M. Optinally, a range 105 105 of variables may be specified with arguments START and END." … … 107 107 (reduce #'+ (monom-exponents m) :start start :end end)) 108 108 109 (defun monom-sugar (m &aux (start 0) (end ( length (monom-exponents m))))109 (defun monom-sugar (m &aux (start 0) (end (monom-dimension m))) 110 110 "Return the sugar of a monomial M. Optinally, a range 111 111 of variables may be specified with arguments START and END."
Note:
See TracChangeset
for help on using the changeset viewer.