- Timestamp:
- 2015-06-15T08:23:57-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/mx-grobner.lisp
r1733 r1734 377 377 (poly-list-lists nil) 378 378 (value-type nil)) 379 &body body 380 &aux (vars (gensym)) 381 (new-vars (gensym))) 379 &body 380 body 381 &aux 382 (vars (gensym)) 383 (new-vars (gensym)) 384 (ring-and-order (gensym))) 382 385 `(let ((,vars (coerce-maxima-list ,maxima-vars)) 383 386 ,@(when new-vars-supplied-p … … 385 388 (poly->maxima 386 389 ,value-type 387 (let (( *ring-and-order*`(find-ring-and-order-by-name388 389 390 391 392 390 (let ((,ring-and-order `(find-ring-and-order-by-name 391 :ring ,$poly_coefficient_ring 392 :order ,$poly_monomial_order 393 ;; :elimination-order ,$poly_primary_elimination_order 394 :primary-elimination-order ,$poly_secondary_elimination_order 395 :secondary-elimination-order ,$poly_elimination_order))) 393 396 (let ,(let ((args nil)) 394 395 (setf args (cons `(,p (parse-poly ,p ,vars)) args)))396 397 (setf args (cons `(,p (parse-poly-list ,p ,vars)) args)))398 399 (setf args (cons `(,p (parse-poly-list-list ,p ,vars)) args))))400 397 (dolist (p polynomials args) 398 (setf args (cons `(,p (maxima->poly ,p ,vars ,ring-and-order)) args))) 399 (dolist (p poly-lists args) 400 (setf args (cons `(,p (maxima->poly-list ,p ,vars ,ring-and-order)) args))) 401 (dolist (p poly-list-lists args) 402 (setf args (cons `(,p (maxima->poly-list-list ,p ,vars ,ring-and-order)) args)))) 403 . ,body))) 401 404 ,(if new-vars-supplied-p 402 405 `(append ,vars ,new-vars)
Note:
See TracChangeset
for help on using the changeset viewer.