Changeset 2531
- Timestamp:
- 2015-06-19T14:44:54-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r2530 r2531 111 111 (with-slots ((p termlist) order) 112 112 self 113 (with-slots ((q termlist))113 (with-slots ((q termlist)) 114 114 other 115 115 (do (r) … … 126 126 (lm-equal 127 127 (let ((s (r+ (lc p) (lc q)))) 128 (unless (r-zerop s) ;check for cancellation 129 (setf r (cons (make-term :monom (termlist-lm p) :coeff s) r))) 130 (setf p (cdr p) q (cdr q)))) 128 (unless (r-zerop 131 129 (lm-greater 132 130 (setf r (cons (car p) r) … … 135 133 q (cdr q))))) 136 134 nil)) 137 r)))) 135 r))))))))) 138 136 self) 139 137
Note:
See TracChangeset
for help on using the changeset viewer.