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 3221


Ignore:
Timestamp:
2015-06-22T19:45:05-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r3129 r3221  
    103103(defgeneric leading-coefficient (object)
    104104  (:method ((self poly))
    105     (r-coeff (leading-term self)))
     105    (scalar-coeff (leading-term self)))
    106106  (:documentation "The leading coefficient of a polynomial. It signals error for a zero polynomial."))
    107107
     
    109109(defgeneric second-leading-coefficient (object)
    110110  (:method ((self poly))
    111     (r-coeff (second-leading-term self)))
     111    (scalar-coeff (second-leading-term self)))
    112112  (:documentation "The second leading coefficient of a polynomial. It
    113113  signals error for a polynomial with at most one term."))
     
    146146of terms. The code destroys both arguments, reusing the terms to build
    147147the result."
    148   `(macrolet ((lc (x) `(r-coeff (car ,x))))
     148  `(macrolet ((lc (x) `(scalar-coeff (car ,x))))
    149149     (do ((p ,p)
    150150          (q ,q)
Note: See TracChangeset for help on using the changeset viewer.