- Timestamp:
- 2015-06-14T20:59:52-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/mx-grobner.lisp
r1673 r1674 125 125 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 126 126 127 (defun find-ring (ring)127 (defun find-ring-by-name (ring) 128 128 "This function returns the ring structure bases on input symbol." 129 129 (cond … … 140 140 nil))) 141 141 142 (defun find-order (order)142 (defun find-order-by-name (order) 143 143 "This function returns the order function bases on its name." 144 144 (cond … … 162 162 (defun maxima->poly (expr vars 163 163 &optional 164 (ring -name $poly_coefficient_ring)165 (order -name $poly_monomial_order)166 (primary-elimination-order-name $poly_primary_elimination_order)167 (secondary-elimination-order-name $poly_secondary_elimination_order)164 (ring (find-ring-by-name $poly_coefficient_ring)) 165 (order (find-order-by-name $poly_monomial_order)) 166 (primary-elimination-order-name (find-order-by-name $poly_primary_elimination_order)) 167 (secondary-elimination-order-name (find-order-by-name $poly_secondary_elimination_order)) 168 168 &aux 169 169 (vars (coerce-maxima-list vars)) 170 170 (ring-and-order (make-ring-and-order 171 :ring (find-ring ring-name)172 :order (find-order order-name)173 :primary-elimination-order (find-order primary-elimination-order-name)174 :secondary-elimination-order (find-order secondary-elimination-order-name)))171 :ring ring 172 :order order 173 :primary-elimination-order primary-elimination-order-name 174 :secondary-elimination-order secondary-elimination-order-name)) 175 175 (ring (ro-ring ring-and-order))) 176 176 "Convert a maxima polynomial expression EXPR in variables VARS to internal form."
Note:
See TracChangeset
for help on using the changeset viewer.