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


Ignore:
Timestamp:
2015-06-19T11:00:06-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/monom.lisp

    r2414 r2478  
    144144        (make-instance 'monom :dimension dimension :exponents exponents)))))
    145145
     146(defmethod multiply-by ((self monom) (other monom))
     147  (with-slots ((exponents1 exponents) dimension)
     148      self
     149    (with-slots ((exponents2 exponents))
     150        other
     151      (map-into exponents1 #'+ exponents1 exponents2))))
    146152
    147153(defmethod r/ ((m1 monom) (m2 monom))
Note: See TracChangeset for help on using the changeset viewer.