Changeset 2555 for branches/f4grobner
- Timestamp:
- 2015-06-19T16:16:29-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/5am-monom.lisp
r2520 r2555 178 178 (test poly 179 179 "Polynomial" 180 (let ((p (make-instance 'poly))) 180 (let ((p (make-instance 'poly)) 181 (q (make-instance 'poly))) 181 182 (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))))) 183 185 (is-true (print p)) 186 (is-true (print q)) 184 187 )) 185 188
Note:
See TracChangeset
for help on using the changeset viewer.