Changeset 2648
- Timestamp:
- 2015-06-20T14:56:34-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/5am-poly.lisp
r2647 r2648 62 62 (def-fixture poly-context () 63 63 (let ((p (make-instance 'poly)) 64 (q (make-instance 'poly :order #'grlex>))) 64 (q (make-instance 'poly :order #'grlex>)) 65 (p+q (make-instance 'poly)) 66 (p-q (make-instance 'poly))) 65 67 (dolist (x '( (2 . 22) (4 . 44) (5 . 55) )) 66 68 (insert-item p (make-instance 'term :exponents (list (car x)) :coeff (cdr x)))) … … 69 71 (dolist (x '((0 . 11) (2 . 22) (3 . 33) (5 . 55) (7 . 77) )) 70 72 (insert-item p+q (make-instance 'term :exponents (list (car x)) :coeff (cdr x)))) 73 (print p) (print q) (print p+q) (print p-q) 71 74 (&body))) 72 75
Note:
See TracChangeset
for help on using the changeset viewer.