Changeset 1747
- Timestamp:
- 2015-06-15T08:46:09-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/mx-grobner.lisp
r1746 r1747 370 370 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 371 371 372 (defmacro with-ring-and-order ((( maxima-vars &optional (maxima-new-vars nil new-vars-supplied-p))372 (defmacro with-ring-and-order (((ring-and-order maxima-vars &optional (maxima-new-vars nil new-vars-supplied-p)) 373 373 &key (polynomials nil) 374 374 (poly-lists nil) … … 385 385 (poly->maxima 386 386 ,value-type 387 (let (( *ring-and-order*,(find-ring-and-order-by-name)))387 (let ((,ring-and-order ,(find-ring-and-order-by-name))) 388 388 (let ,(let ((args nil)) 389 389 (dolist (p polynomials args) 390 (setf args (cons `(,p (maxima->poly ,p ,vars *ring-and-order*)) args)))390 (setf args (cons `(,p (maxima->poly ,p ,vars ,ring-and-order)) args))) 391 391 (dolist (p poly-lists args) 392 (setf args (cons `(,p (maxima->poly-list ,p ,vars *ring-and-order*)) args)))392 (setf args (cons `(,p (maxima->poly-list ,p ,vars ,ring-and-order)) args))) 393 393 (dolist (p poly-list-lists args) 394 (setf args (cons `(,p (maxima->poly-list-list ,p ,vars *ring-and-order*)) args))))394 (setf args (cons `(,p (maxima->poly-list-list ,p ,vars ,ring-and-order)) args)))) 395 395 . ,body)) 396 396 ,(if new-vars-supplied-p
Note:
See TracChangeset
for help on using the changeset viewer.