- Timestamp:
- 2015-06-21T17:55:41-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r3062 r3063 293 293 294 294 295 (defun poly-standard-extension (plist &aux (k (length plist)) )295 (defun poly-standard-extension (plist &aux (k (length plist)) (i 0)) 296 296 "Calculate [U1*P1,U2*P2,...,UK*PK], where PLIST=[P1,P2,...,PK] 297 297 is a list of polynomials. Destructively modifies PLIST elements." 298 298 (mapc #'(lambda (poly) 299 (left-tensor-product-by poly (make-monom-variable k i))) 299 (left-tensor-product-by poly 300 (prog1 (make-monom-variable k i) (incf i)))) 300 301 plist)) 301 302
Note:
See TracChangeset
for help on using the changeset viewer.