- Timestamp:
- 2015-06-09T20:46:06-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r983 r984 155 155 (poly-sugar p))) 156 156 157 (defun poly-mul (ring p q) 158 (make-poly-from-termlist (termlist-mul ring (poly-termlist p) (poly-termlist q)) (+ (poly-sugar p) (poly-sugar q)))) 157 (defun poly-mul (ring-and-order p q) 158 (declare (type ring-and-order ring-and-order) (type poly p q)) 159 (make-poly-from-termlist 160 (termlist-mul ring (poly-termlist p) (poly-termlist q)) 161 (+ (poly-sugar p) (poly-sugar q)))) 159 162 160 163 (defun poly-expt (ring p n)
Note:
See TracChangeset
for help on using the changeset viewer.