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 2069 for branches


Ignore:
Timestamp:
2015-06-17T19:12:20-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/monom.lisp

    r2064 r2069  
    140140    (reduce #'+ exponents :start start :end end)))
    141141
    142 #|
    143142
    144143(defmethod sugar ((m monom) &aux (start 0) (end (dimension m)))
     
    161160        (make-instance 'monom :dim dim :exponents exponents)))))
    162161
     162
     163
    163164(defmethod ring-div ((m1 monom) (m2 monom))
    164165  "Divide monomial M1 by monomial M2."
     
    172173        (make-instance 'monom :dim dim :exponents exponents)))))
    173174
    174 #|
    175175(defmethod divides-p ((m1 monom) (m2 monom))
    176176  "Returns T if monomial M1 divides monomial M2, NIL otherwise."
     
    181181      (every #'<= exponents1 exponents2))))
    182182
    183 
    184 
    185183(defmethod divides-lcm-p ((m1 monom) (m2 monom) (m3 monom))
    186184  "Returns T if monomial M1 divides LCM(M2,M3), NIL otherwise."
     
    189187
    190188
    191 
    192 
    193 (defun monom-lcm-divides-monom-lcm-p (m1 m2 m3 m4)
     189(defmethod lcm-divides-lcm-p ((m1 monom) (m2 monom) (m3 monom) (m4 monom))
    194190  "Returns T if monomial MONOM-LCM(M1,M2) divides MONOM-LCM(M3,M4), NIL otherwise."
    195191  (declare (type monom m1 m2 m3 m4))
Note: See TracChangeset for help on using the changeset viewer.