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 3636


Ignore:
Timestamp:
2015-09-05T20:37:09-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

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

    r3635 r3636  
    101101    ;; so it will be automatically sorted.
    102102    (dolist (x '( ((0) . 1)  ((1) . 2) ))
    103       (poly-insert-term p (make-instance 'term :exponents (car x)) (cdr x)))
     103      (poly-insert-term p (make-instance 'term :exponents (car x) :coeff (cdr x))))
    104104    (dolist (x '( ((0) . 1)  ((1) . 3) ))
    105       (poly-insert-term q (make-instance 'term :exponents (car x)) (cdr x)))
     105      (poly-insert-term q (make-instance 'term :exponents (car x) :coeff (cdr x))))
    106106    ;; P*Q
    107107    (dolist (x '( ((0) . 1) ((1) . 5) ((2) . 6)))
    108       (poly-insert-term p*q (make-instance 'term :exponents (car x)) (cdr x)))
     108      (poly-insert-term p*q (make-instance 'term :exponents (car x) :coeff (cdr x))))
    109109    (&body)))
    110110
Note: See TracChangeset for help on using the changeset viewer.