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.

Ignore:
Timestamp:
2015-06-20T02:20:53-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

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

    r2618 r2620  
    179179  (let ((p (make-instance 'poly))
    180180        (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
    184186    (&body)))
    185187
Note: See TracChangeset for help on using the changeset viewer.