- Timestamp:
- 2015-06-20T21:42:47-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r2800 r2801 202 202 deleting zero terms." 203 203 `(mapcan #'(lambda (other-term) 204 (let ((prod (term-multiply ,term other-term))) 204 (let ((prod (term-multiply 205 (cond 206 (reverse-order 207 `(other-term ,term) 208 `(,term other-term)))))) 205 209 (cond 206 210 ((r-zerop prod) nil) … … 220 224 (tail (add-termlists 221 225 (multiply-term-by-termlist-dropping-zeros (car p) (cdr q)) 222 (multiply-termlist -by-term-dropping-zeros (cdr p) q)226 (multiply-termlists (cdr p) q) 223 227 order-fn))) 224 228 (nconc head tail)))))))
Note:
See TracChangeset
for help on using the changeset viewer.