Changeset 978 for branches/f4grobner
- Timestamp:
- 2015-06-09T20:42:02-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r977 r978 128 128 129 129 (defun term-times-poly (ring term p) 130 (declare (type ring ring)) 130 131 (make-poly-from-termlist (term-times-termlist ring term (poly-termlist p)) (+ (poly-sugar p) (term-sugar term)))) 131 132 132 (defun poly-add (ring p q) 133 (make-poly-from-termlist (termlist-add ring (poly-termlist p) (poly-termlist q)) (max (poly-sugar p) (poly-sugar q)))) 133 (defun poly-add (ring-and-order p q) 134 (declare (type ring-and-order ring-and-order)) 135 (make-poly-from-termlist 136 (termlist-add ring-and-order 137 (poly-termlist p) 138 (poly-termlist q)) 139 (max (poly-sugar p) (poly-sugar q)))) 134 140 135 141 (defun poly-sub (ring p q)
Note:
See TracChangeset
for help on using the changeset viewer.