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 3026


Ignore:
Timestamp:
2015-06-21T16:24:57-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/monom.lisp

    r3022 r3026  
    261261            exponents1 (concatenate 'vector exponents2 exponents1)))))
    262262
     263(defmethod right-tensor-product-by ((self monom) (other monom))
     264  (with-slots ((exponents1 exponents) (dimension1 dimension))
     265      self
     266    (with-slots ((exponents2 exponents) (dimension2 dimension))
     267        other
     268      (setf dimension1 (+ dimension1 dimension2)
     269            exponents1 (concatenate 'vector exponents1 exponents2)))))
     270
    263271(defmethod left-contract ((m monom) k)
    264272  "Drop the first K variables in monomial M."
Note: See TracChangeset for help on using the changeset viewer.