- Timestamp:
- 2015-06-20T21:14:26-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r2790 r2791 191 191 self) 192 192 193 194 (defun term-mul-lst (ring term1 term2)195 "A special version of term multiplication. Returns (LIST TERM) where196 TERM is the product of the terms TERM1 TERM2, or NIL when the product197 is 0. This definition takes care of divisors of 0 in the coefficient198 ring."199 (let ((c (r* (term-coeff term1) (term-coeff term2))))200 (unless (r-zerop c)201 (list (make-instance 'term202 :monom (r* (term-monom term1) (term-monom term2))203 :coeff c)))))204 193 205 194 (defun multiply-term-by-termlist (term termlist)
Note:
See TracChangeset
for help on using the changeset viewer.