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 3416


Ignore:
Timestamp:
2015-08-27T16:47:54-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/monom.lisp

    r3415 r3416  
    177177  (multiply-by (copy-instance m1) (copy-instance m2)))
    178178
    179 (defmethod r/ ((m1 monom) &rest m2)
    180   "Non-destructively divide monomial M1 by M2."
    181   (divide-by (copy-instance m1) (copy-instance m2)))
     179(defmethod r/ ((numerator monom) &rest denominators)
     180  "Non-destructively divide monomial NUMERATOR by product of DENOMINATORS."
     181  (divide-by (copy-instance m1) (reduce #'r* denominators)))
    182182
    183183(defmethod r-divides-p ((m1 monom) (m2 monom))
Note: See TracChangeset for help on using the changeset viewer.