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 1995 for branches/f4grobner


Ignore:
Timestamp:
2015-06-16T01:26:11-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/pol.lisp

    r1994 r1995  
    303303;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    304304
    305 (defun coerce-coeff (ring expr vars)
     305(defmethod scalar->poly ((ring ring) expr vars)
    306306  "Coerce an element of the coefficient ring to a constant polynomial."
    307307  ;; Modular arithmetic handler by rat
    308   (declare (type ring ring))
    309308  (make-poly-from-termlist (list (make-term :monom (make-monom :dimension (length vars))
    310309                                            :coeff (funcall (ring-parse ring) expr)))
Note: See TracChangeset for help on using the changeset viewer.