close Warning: Can't synchronize with repository "(default)" (The repository directory has changed, you should resynchronize the repository with: trac-admin $ENV repository resync '(default)'). Look in the Trac log for more information.

Changeset 1724 for branches/f4grobner


Ignore:
Timestamp:
2015-06-15T08:03:11-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/mx-grobner.lisp

    r1723 r1724  
    163163                                      (ring (find-ring-by-name $poly_coefficient_ring))
    164164                                      (order (find-order-by-name $poly_monomial_order))
     165                                      (elimination-order (find-order-by-name $poly_elimination_order))
    165166                                      (primary-elimination-order (find-order-by-name $poly_primary_elimination_order))
    166167                                      (secondary-elimination-order (find-order-by-name $poly_secondary_elimination_order))
     
    383384     (coerce-to-maxima
    384385      ,value-type
    385       (with-coefficient-ring ($poly_coefficient_ring)
    386         (with-monomial-order ($poly_monomial_order)
    387           (with-elimination-orders ($poly_primary_elimination_order
    388                                     $poly_secondary_elimination_order
    389                                     $poly_elimination_order)
    390             (let ,(let ((args nil))
     386      (let ((*ring-and-order* ,(find-ring-and-order-by-name
     387                                :ring ,$poly_coefficient_ring
     388                                :order ,$poly_monomial_order
     389                                :elimination-order ,$poly_primary_elimination_order
     390                                :primary-elimination-order ,$poly_secondary_elimination_order
     391                                :secondary-elimination-order ,$poly_elimination_order)))
     392        (let ,(let ((args nil))
    391393                       (dolist (p polynomials args)
    392394                         (setf args (cons `(,p (parse-poly ,p ,vars)) args)))
     
    410412                            :value-type :polynomial)
    411413                           p))
     414
     415#|
    412416
    413417(defmfun $poly_expt (p n vars)
Note: See TracChangeset for help on using the changeset viewer.