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


Ignore:
Timestamp:
2015-06-18T19:45:28-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/monom.lisp

    r2320 r2321  
    256256    (plusp (elt exponents k))))
    257257
    258 (defmethod r-tensor-product ((m1 monom) (m2 monom)
    259                              &aux (dimension (+ (r-dimension m1) (r-dimension m2))))
    260   (declare (fixnum dimension))
    261   (with-slots ((exponents1 exponents))
    262       m1
    263     (with-slots ((exponents2 exponents))
     258(defmethod r-tensor-product ((m1 monom) (m2 monom))
     259  (with-slots ((exponents1 exponents) (dimension1 dimension))
     260      m1
     261    (with-slots ((exponents2 exponents) (dimension2 dimension))
    264262        m2
    265263      (make-instance 'monom
    266                      :dimension dimension
     264                     :dimension (+ dimension1 dimension2)
    267265                     :exponents (concatenate 'vector exponents1 exponents2)))))
    268266
Note: See TracChangeset for help on using the changeset viewer.