Changeset 3089
- Timestamp:
- 2015-06-21T20:52:37-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r3088 r3089 318 318 polynomial. Subsequently, P1, P2, ..., PK are destructively modified 319 319 tantamount to replacing PI with UI*PI-1." 320 ;; Implementation note: we use STANDARD-EXTENSION and then subtract 321 ;; 1 from each polynomial; since UI*PI has no constant term, 322 ;; we just need to append the constant term at the end 323 ;; of each termlist. 320 324 (flet ((subtract-1 (p) 321 325 (append-item p (make-instance 'term :coeff -1 :dimension (+ k nvars))))) … … 339 343 which is equivalent to using a lexicographic order on the first K 340 344 variables." 341 (declare (type ring ring))342 345 (setf (cdr (last (poly-termlist plist))) 343 346 ;; Add -1 as the last term
Note:
See TracChangeset
for help on using the changeset viewer.