Changeset 3045 for branches/f4grobner
- Timestamp:
- 2015-06-21T16:57:18-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r3044 r3045 263 263 264 264 (defmethod right-tensor-product-by ((self poly) (other term)) 265 (setf (r-coeff self) (multiply-by (r-coeff self) (r-coeff other))) 266 (call-next-method)) 265 (setf (poly-termlist self) 266 (mapcan #'(lambda (term) 267 (let ((prod (right-tensor-product-by other) term)) 268 (cond 269 ((r-zerop prod) nil) 270 (t (list prod))))) 271 (poly-termlist))) 272 self) 273 267 274 268 275
Note:
See TracChangeset
for help on using the changeset viewer.