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


Ignore:
Timestamp:
2015-06-20T22:00:50-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/monom.lisp

    r2783 r2806  
    136136    (r-total-degree m start end))
    137137
    138 (defmethod r* ((m1 monom) (m2 monom))
    139   "Multiply monomial M1 by monomial M2."
    140   (with-slots ((exponents1 exponents) dimension)
    141       m1
    142     (with-slots ((exponents2 exponents))
    143         m2
    144       (let* ((exponents (copy-seq exponents1)))
    145         (map-into exponents #'+ exponents1 exponents2)
    146         (make-instance 'monom :dimension dimension :exponents exponents)))))
    147 
    148138(defmethod multiply-by ((self monom) (other monom))
    149139  (with-slots ((exponents1 exponents))
Note: See TracChangeset for help on using the changeset viewer.