Changeset 3075
- Timestamp:
- 2015-06-21T18:18:43-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r3074 r3075 312 312 "Calculate [F, U1*P1-1,U2*P2-1,...,UK*PK-1], where PLIST=[P1,P2,...,PK]." 313 313 (flet ((subtract-1 (p) 314 (insert-item p (make-instance 'term :coeff -1 :dimension dim)))) 315 (setf plist (mapc #'subtract-1 plist))) 314 (append-item p (make-instance 'term :coeff -1 :dimension dim)))) 315 (print plist) 316 (setf plist (mapc #'subtract-1 plist)) 317 (print plist)) 316 318 (nconc F plist)) 317 319
Note:
See TracChangeset
for help on using the changeset viewer.