close Warning: Can't synchronize with repository "(default)" (The repository directory has changed, you should resynchronize the repository with: trac-admin $ENV repository resync '(default)'). Look in the Trac log for more information.

Changeset 2670 for branches/f4grobner


Ignore:
Timestamp:
2015-06-20T15:56:16-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/5am-poly.lisp

    r2669 r2670  
    6565        (p+q (make-instance 'poly))
    6666        (p-q (make-instance 'poly)))
    67     (dolist (x '( (2 . 22)  (4 . 44) (5 . 55) (8 . 88) (9 . 99) ))
     67    (dolist (x '( ((2) . 22)  ((4) . 44) ((5) . 55) ((8) . 88) ((9) . 99) ))
    6868      (insert-item p (make-instance 'term :exponents (list (car x)) :coeff (cdr x))))
    69     (dolist (x '( (0 . 11)  (2 . 20) (3 . 33) (4 . -44)  (7 . 77) (8 . 88) (9 . 90)))
     69    (dolist (x '( ((0) . 11)  ((2) . 20) ((3) . 33) ((4) . -44)  ((7) . 77) ((8) . 88) ((9) . 90)))
    7070      (insert-item q (make-instance 'term :exponents (list (car x)) :coeff (cdr x))))
    71     (dolist (x '((0 . 11) (2 . 42)  (3 . 33) (5 . 55) (7 . 77) (8 . 172) (9 . 189) ))
     71    (dolist (x '(((0) . 11) ((2) . 42)  ((3) . 33) ((5) . 55) ((7) . 77) ((8) . 172) ((9) . 189) ))
    7272      (insert-item p+q (make-instance 'term :exponents (list (car x)) :coeff (cdr x))))
    73     (dolist (x '((0 . -11) (2 . 2)  (3 . -33) (4 . 88) (5 . 55) (7 . -77) (9 . 9)))
    74       (insert-item p-q (make-instance 'term :exponents (list (car x)) :coeff (cdr x))))
     73    (dolist (x '(((0) . -11) ((2) . 2)  ((3) . -33) ((4) . 88) ((5) . 55) ((7) . -77) ((9) . 9)))
     74      (insert-item p-q (make-instance 'term :exponents (car x) :coeff (cdr x))))
    7575    ;;(print p) (print q) (print p+q) (print p-q)
    7676    (&body)))
Note: See TracChangeset for help on using the changeset viewer.