- Timestamp:
- 2016-06-01T09:18:29-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/division.lisp
r4082 r4087 21 21 22 22 (defpackage "DIVISION" 23 (:use :cl :copy :utils :monom :polynomial :grobner-debug )23 (:use :cl :copy :utils :monom :polynomial :grobner-debug :symbolic-polynomial) 24 24 (:export "$POLY_TOP_REDUCTION_ONLY" 25 25 "POLY-PSEUDO-DIVIDE" … … 120 120 ((cond 121 121 ((endp fl) ;no division occurred 122 (push (leading-term p) (poly-termlist r)) ;move lt(p) to remainder 122 ;; TODO: 3 lines below implement sugar strategy (unimplemented in this version) 123 ;;(push (leading-term p) (poly-termlist r)) ;move lt(p) to remainder 123 124 ;;(setf (poly-sugar r) (max (poly-sugar r) (term-sugar (poly-lt p)))) 124 (pop (poly-termlist p)) ;remove lt(p) from p125 ;;(pop (poly-termlist p)) ;remove lt(p) from p 125 126 t) 126 127 ((divides-p (leading-monomial (car fl)) (leading-monomial p)) ;division occurred
Note:
See TracChangeset
for help on using the changeset viewer.