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


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

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r3624 r3625  
    136136
    137137;; Second term
    138 (defgeneric poly-second-leading-term (object)
     138(defgeneric second-leading-term (object)
    139139  (:method ((self poly))
    140140    (cadar (poly-termlist self)))
     
    142142
    143143;; Leading coefficient
    144 (defgeneric poly-leading-coefficient (object)
     144(defgeneric leading-coefficient (object)
    145145  (:method ((self poly))
    146     (cdr (poly-leading-term self)))
     146    (term-coeff (poly-leading-term self)))
    147147  (:documentation "The leading coefficient of a polynomial. It signals error for a zero polynomial."))
    148148
    149149;; Leading monomial
    150 (defgeneric poly-leading-monomial (object)
     150(defgeneric leading-monomial (object)
    151151  (:method ((self poly))
    152152    (car (poly-leading-term self)))
Note: See TracChangeset for help on using the changeset viewer.