Changeset 2620 for branches/f4grobner
- Timestamp:
- 2015-06-20T02:20:53-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/5am-monom.lisp
r2618 r2620 179 179 (let ((p (make-instance 'poly)) 180 180 (q (make-instance 'poly :order #'grlex>))) 181 (dotimes (i 5) 182 (insert-item p (make-instance 'term :exponents (list (* 3 i) i) :coeff (1+ (* 3 i)))) 183 (insert-item q (make-instance 'term :exponents (list (+ (* 3 i) 2) i) :coeff (1- (* 3 i))))) 181 (dolist (x '(((5) . 55) ((4) . 44) ((2) . 22))) 182 (insert-item p (make-instance 'term :exponents (list (car x)) :coeff (cdr x)))) 183 (dolist (x '(((7) . 77) ((4) . -44) ((3) . 33) ((0) . 11))) 184 (insert-item q (make-instance 'term :exponents (list (car x)) :coeff (cdr x)))) 185 184 186 (&body))) 185 187
Note:
See TracChangeset
for help on using the changeset viewer.