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 3626


Ignore:
Timestamp:
2015-09-05T20:19:50-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r3625 r3626  
    147147  (:documentation "The leading coefficient of a polynomial. It signals error for a zero polynomial."))
    148148
    149 ;; Leading monomial
    150 (defgeneric leading-monomial (object)
    151   (:method ((self poly))
    152     (car (poly-leading-term self)))
    153   (:documentation "The leading monomial of a polynomial. It signals error for a zero polynomial."))
    154 
    155149;; Second leading coefficient
    156150(defgeneric second-leading-coefficient (object)
    157151  (:method ((self poly))
    158     (cdr (poly-second-leading-term self)))
     152    (term-coeff (poly-second-leading-term self)))
    159153  (:documentation "The second leading coefficient of a polynomial. It
    160154  signals error for a polynomial with at most one term."))
Note: See TracChangeset for help on using the changeset viewer.