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 2555 for branches


Ignore:
Timestamp:
2015-06-19T16:16:29-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

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

    r2520 r2555  
    178178(test poly
    179179  "Polynomial"
    180   (let ((p (make-instance 'poly)))
     180  (let ((p (make-instance 'poly))
     181        (q (make-instance 'poly)))
    181182    (dotimes (i 10)
    182       (insert-item p (make-instance 'term :exponents (list i (* 2 i)) :coeff (1+ (* 3 i)))))
     183      (insert-item p (make-instance 'term :exponents (list i (* 2 i)) :coeff (1+ (* 3 i))))
     184      (insert-item q (make-instance 'term :exponents (list (+ i 5) (+ (* 2 i) 3)) :coeff (1- (* 3 i)))))
    183185    (is-true (print p))
     186    (is-true (print q))
    184187  ))
    185188
Note: See TracChangeset for help on using the changeset viewer.