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


Ignore:
Timestamp:
2015-06-10T19:41:30-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

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

    r1103 r1167  
    198198                (read-infix-form :stream s))
    199199              '(+ (- (EXPT X 2) (EXPT Y 2)) (* (- (/ 4 3)) (EXPT U 2) (EXPT W 3)) (- 5))))
     200  (is (equalp (string->alist "X^2-Y^2+(-4/3)*U^2*W^3-5" '(x y u w))
     201              '(((2 0 0 0) . 1)
     202                ((0 2 0 0) . -1)
     203                ((0 0 2 3) . -4/3)
     204                ((0 0 0 0) . -5))))
    200205  (let ((p (make-poly-from-termlist (list (make-term (make-monom :initial-exponents '(2 0)) 1)
    201206                                          (make-term (make-monom :initial-exponents '(0 2)) 2)))))
Note: See TracChangeset for help on using the changeset viewer.