Changeset 3062
- Timestamp:
- 2015-06-21T17:54:08-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r3061 r3062 263 263 264 264 (defmethod right-tensor-product-by ((self poly) (other term)) 265 (setf (poly-termlist self) 266 (mapcan #'(lambda (term) 267 (let ((prod (right-tensor-product-by term other))) 268 (cond 269 ((r-zerop prod) nil) 270 (t (list prod))))) 271 (poly-termlist self))) 272 self) 273 274 (defmethod left-tensor-product-by ((self poly) (other monom)) 275 (setf (poly-termlist self) 276 (mapcan #'(lambda (term) 277 (let ((prod (left-tensor-product-by term other))) 278 (cond 279 ((r-zerop prod) nil) 280 (t (list prod))))) 281 (poly-termlist self))) 282 self) 283 284 (defmethod right-tensor-product-by ((self poly) (other monom)) 265 285 (setf (poly-termlist self) 266 286 (mapcan #'(lambda (term)
Note:
See TracChangeset
for help on using the changeset viewer.