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 2445


Ignore:
Timestamp:
2015-06-19T09:54:55-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r2442 r2445  
    127127
    128128;; Testing for a zero polynomial
    129 (defun poly-zerop (p)
    130   (declare (type poly p))
    131   (null (poly-termlist p)))
     129(defmethod r-zerop ((self poly))
     130  (null (poly-termlist self)))
    132131
    133132;; The number of terms
    134 (defun poly-length (p)
    135   (declare (type poly p))
    136   (length (poly-termlist p)))
     133(defmethod r-length ((self poly))
     134  (length (poly-termlist self)))
    137135
    138136(defun poly-reset-sugar (p)
Note: See TracChangeset for help on using the changeset viewer.