Changeset 1248 for branches/f4grobner
- Timestamp:
- 2015-06-11T15:21:43-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/division.lisp
r1247 r1248 121 121 (setf (poly-sugar r) (max (poly-sugar r) (term-sugar (poly-lt p)))) 122 122 (pop (poly-termlist p)) ;remove lt(p) from p 123 ;; Check the loop invariant here124 (check-loop-invariant ring-and-order c f a fl r p)125 123 t) 126 124 ((monom-divides-p (poly-lm (car fl)) (poly-lm p)) ;division occurred … … 138 136 p (grobner-op ring-and-order c2 c1 m p (car fl))) 139 137 (push (make-term m c2) (poly-termlist (car b)))) 140 t))))))) 138 t)))) 139 ;; Check the loop invariant here 140 (check-loop-invariant ring-and-order c f a fl r p) 141 ))) 141 142 142 143 (defun poly-exact-divide (ring f g)
Note:
See TracChangeset
for help on using the changeset viewer.