Changeset 1171 for branches/f4grobner
- Timestamp:
- 2015-06-10T19:58:43-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r1170 r1171 414 414 MONOM[I] is a list of exponents in the monomial and COEFF[I] is the 415 415 corresponding coefficient in the ring." 416 (declare (type poly p)) 417 (mapcar #'term->cons (poly-termlist p))) 416 (cond 417 ((poly-p p) 418 (mapcar #'term->cons (poly-termlist p))) 419 ((and (consp p) (eq (car p) :[)) 420 (const :[ (mapcar #'poly->alist (cdr p)))))) 418 421 419 422 (defun string->alist (str vars
Note:
See TracChangeset
for help on using the changeset viewer.