- Timestamp:
- 2016-05-31T16:19:05-07:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r4035 r4036 605 605 (defmethod ->sexp ((self poly) &optional vars) 606 606 "Converts a polynomial SELF to a sexp." 607 ( cons '+(mapcar #'(lambda (x) (->sexp x vars))607 (let ((m (mapcar #'(lambda (x) (->sexp x vars)) 608 608 (poly-termlist self)))) 609 (cons ((endp m) 0) 610 ((endp (cdr m)) (car m)) 611 (t (cons '+ m))))) 609 612 610 613 (defparameter +list-marker+ :[
Note:
See TracChangeset
for help on using the changeset viewer.