- Timestamp:
- 2015-06-10T19:41:30-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/5am-tests.lisp
r1103 r1167 198 198 (read-infix-form :stream s)) 199 199 '(+ (- (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)))) 200 205 (let ((p (make-poly-from-termlist (list (make-term (make-monom :initial-exponents '(2 0)) 1) 201 206 (make-term (make-monom :initial-exponents '(0 2)) 2)))))
Note:
See TracChangeset
for help on using the changeset viewer.