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


Ignore:
Timestamp:
2016-05-31T15:47:15-07:00 (8 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/monom.lisp

    r4032 r4033  
    232232(defgeneric unary-inverse (self)
    233233  (:documentation "Returns the unary inverse of SELF.")
    234   (:method ((self number)) (/ self)))
     234  (:method ((self number)) (/ self))
     235  (:method :before ((self monom))
     236           (assert (zerop (total-degree self))))
     237  (:method ((self monom)) self))
    235238
    236239(defun divide (numerator &rest denominators)
Note: See TracChangeset for help on using the changeset viewer.