Changeset 970
- Timestamp:
- 2015-06-09T20:19:09-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/5am-tests.lisp
r969 r970 130 130 (is-true (equalp q p-sq)))) 131 131 132 (test poly 133 "poly" 134 (let* ((t1 (make-term (make-monom :initial-exponents '(1 2 3)) 7)) 135 (t2 (make-term (make-monom :initial-exponents '(3 5 2)) 9)) 136 (t11 (make-term (make-monom :initial-exponents '(2 4 6)) 49)) 137 (t12 (make-term (make-monom :initial-exponents '(4 7 5)) 126)) 138 (t22 (make-term (make-monom :initial-exponents '(6 10 4)) 81)) 139 (p (make-poly-from-termlist (list t2 t1))) 140 (p-sq (make-poly-from-termlist (list t22 t12 t11))) 141 (ring-and-order (make-ring-and-order)) 142 (q (poly-expt ring-and-order p 2))) 143 (is-true (equalp q p-sq)))) 144 132 145 133 146
Note:
See TracChangeset
for help on using the changeset viewer.