Changeset 4067
- Timestamp:
- 2016-05-31T18:57:50-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/symbolic-polynomial.lisp
r4066 r4067 118 118 "Converts a string STR to a polynomial in variables VARS." 119 119 (with-input-from-string (s str) 120 (change-class (read-poly vars :stream s :order order) 'symbolic-poly :vars vars))) 120 (let ((p-or-plist (read-poly vars :stream s :order order))) 121 (typecase p-or-plist 122 (poly (change-class p-or-plist 'symbolic-poly :vars vars)) 123 (cons 124 (setf (cdr p-or-plist) (mapcar #'(lambda (p) (change-class p 'symbolic-poly :vars vars)) (cdr p-or-plist))) 125 p-or-plist))))) 121 126 122 127 (defun poly->alist (p)
Note:
See TracChangeset
for help on using the changeset viewer.