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 2078 for branches/f4grobner


Ignore:
Timestamp:
2015-06-17T19:26:31-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/monom.lisp

    r2077 r2078  
    208208           exponents1 exponents2 exponents3 exponents4))))))
    209209
    210 #|
    211210(defmethod divisible-by-p ((m1 monom) (m2 monom))
    212211  "Returns T if monomial M1 is divisible by monomial M2, NIL otherwise."
     212
    213213  (every #'>= m1 m2))
    214214
    215215(defmethod rel-prime-p ((m1 monom) (m2 monom))
    216216  "Returns T if two monomials M1 and M2 are relatively prime (disjoint)."
    217   (every #'(lambda (x y) (zerop (min x y))) m1 m2))
    218 
    219 #|
    220 
     217  (with-slots (exponents1 exponents)
     218      m1
     219    (with-slots (exponents2 exponents)
     220        m2
     221      (every #'(lambda (x y) (zerop (min x y))) exponents1 exponents2))))
    221222
    222223
Note: See TracChangeset for help on using the changeset viewer.