Changeset 2667 for branches/f4grobner
- Timestamp:
- 2015-06-20T15:49:20-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/5am-poly.lisp
r2666 r2667 67 67 (dolist (x '( (2 . 22) (4 . 44) (5 . 55) (9 . 99) )) 68 68 (insert-item p (make-instance 'term :exponents (list (car x)) :coeff (cdr x)))) 69 (dolist (x '( (0 . 11) ( 3 . 33) (4 . -44) (7 . 77) (9 . 99)))69 (dolist (x '( (0 . 11) (2 . 20) (3 . 33) (4 . -44) (7 . 77) (9 . 99))) 70 70 (insert-item q (make-instance 'term :exponents (list (car x)) :coeff (cdr x)))) 71 (dolist (x '((0 . 11) (2 . 22) (3 . 33) (5 . 55) (7 . 77) (9 . 198) ))71 (dolist (x '((0 . 11) (2 . 42) (3 . 33) (5 . 55) (7 . 77) (9 . 198) )) 72 72 (insert-item p+q (make-instance 'term :exponents (list (car x)) :coeff (cdr x)))) 73 (dolist (x '((0 . -11) (2 . 2 2) (3 . -33) (4 . 88) (5 . 55) (7 . -77) ))73 (dolist (x '((0 . -11) (2 . 2) (3 . -33) (4 . 88) (5 . 55) (7 . -77) )) 74 74 (insert-item p-q (make-instance 'term :exponents (list (car x)) :coeff (cdr x)))) 75 75 ;;(print p) (print q) (print p+q) (print p-q)
Note:
See TracChangeset
for help on using the changeset viewer.