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 1896


Ignore:
Timestamp:
2015-06-15T17:51:35-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/monom.lisp

    r1895 r1896  
    120120
    121121(defun monom-total-degree (m &optional (start 0) (end (monom-dimension m)))
    122   (declare (type monom m) (type fixnum start end))
    123122  "Return the todal degree of a monomoal M. Optinally, a range
    124123of variables may be specified with arguments START and END."
     124  (declare (type monom m) (type fixnum start end))
    125125  (reduce #'+ m :start start :end end))
    126126
    127127(defun monom-sugar (m &aux (start 0) (end (monom-dimension m)))
    128   (declare (type monom m) (type fixnum start end))
    129128  "Return the sugar of a monomial M. Optinally, a range
    130129of variables may be specified with arguments START and END."
     130  (declare (type monom m) (type fixnum start end))
    131131  (monom-total-degree m start end))
    132132
    133133(defun monom-div (m1 m2 &aux (result (copy-seq m1)))
     134  "Divide monomial M1 by monomial M2."
    134135  (declare (type monom m1 m2 result)
    135   "Divide monomial M1 by monomial M2."
    136136  (map-into result #'- m1 m2))
    137137
Note: See TracChangeset for help on using the changeset viewer.