close Warning: Can't synchronize with repository "(default)" (The repository directory has changed, you should resynchronize the repository with: trac-admin $ENV repository resync '(default)'). Look in the Trac log for more information.

Changeset 747


Ignore:
Timestamp:
2015-06-08T20:52:37-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/monomial.lisp

    r746 r747  
    101101  `(elt (monom-exponents ,m) ,index))
    102102
    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)))
    104104  "Return the todal degree of a monomoal M. Optinally, a range
    105105of variables may be specified with arguments START and END."
     
    107107  (reduce #'+ (monom-exponents m) :start start :end end))
    108108
    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)))
    110110  "Return the sugar of a monomial M. Optinally, a range
    111111of variables may be specified with arguments START and END."
Note: See TracChangeset for help on using the changeset viewer.