- Timestamp:
- 2015-06-14T21:26:16-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/mx-grobner.lisp
r1687 r1688 219 219 (coerce-coeff (ro-ring ring-and-order) expr vars))))))) 220 220 221 #| 222 223 (defun parse-poly-list (expr vars) 221 (defun parse-poly-list (expr vars 222 &optional 223 (ring (find-ring-by-name $poly_coefficient_ring)) 224 (order (find-order-by-name $poly_monomial_order)) 225 (primary-elimination-order (find-order-by-name $poly_primary_elimination_order)) 226 (secondary-elimination-order (find-order-by-name $poly_secondary_elimination_order))) 224 227 "Parse a Maxima representation of a list of polynomials." 225 228 (case (caar expr) 226 (mlist (mapcar #'(lambda (p) (parse-poly p vars)) (cdr expr))) 229 (mlist (mapcar #'(lambda (p) 230 (parse-poly p vars ring order primary-elimination-order secondary-elimination-order)) 231 (cdr expr))) 227 232 (t (merror "Expression ~M is not a list of polynomials in variables ~M." 228 233 expr vars)))) 234 235 #| 229 236 230 237 (defun parse-poly-list-list (poly-list-list vars) 231 238 "Parse a Maxima representation of a list of lists of polynomials." 232 239 (mapcar #'(lambda (g) (parse-poly-list g vars)) (coerce-maxima-list poly-list-list))) 240 241 233 242 234 243
Note:
See TracChangeset
for help on using the changeset viewer.