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


Ignore:
Timestamp:
2015-06-21T14:02:07-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/monom.lisp

    r2875 r2950  
    154154  self)
    155155
     156(defun copy-monom (m)
     157  (make-instance 'monom
     158                 :dimension (monom-dimension m)
     159                 :exponents (copy-seq (monom-exponents m))))
     160
    156161(defmethod r* ((m1 monom) (m2 monom))
    157162  "Non-destructively multiply monomial M1 by M2."
    158   (multiply-by (copy-instance m1) (copy-instance m2)))
     163  (multiply-by (copy-monom m1) (copy-monom m2)))
    159164
    160165(defmethod r/ ((m1 monom) (m2 monom))
Note: See TracChangeset for help on using the changeset viewer.