Changeset 2321
- Timestamp:
- 2015-06-18T19:45:28-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monom.lisp
r2320 r2321 256 256 (plusp (elt exponents k)))) 257 257 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)) 264 262 m2 265 263 (make-instance 'monom 266 :dimension dimension264 :dimension (+ dimension1 dimension2) 267 265 :exponents (concatenate 'vector exponents1 exponents2))))) 268 266
Note:
See TracChangeset
for help on using the changeset viewer.