Changeset 3830 for branches/f4grobner
- Timestamp:
- 2016-05-28T11:57:06-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r3822 r3830 270 270 (:documentation "Subtract OTHER from SELF.") 271 271 (:method ((self number) (other number)) 272 (- self other))) 272 (- self other)) 273 (:method ((self poly) (other number)) 274 (subtract-from self (make-poly-constant (poly-dimension self) other)))) 273 275 274 276 (defmacro def-add/subtract-method (add/subtract-method-name … … 529 531 (:method ((self poly)) t) 530 532 (:method ((self t)) nil)) 533 534 (defmethod ->infix ((self poly) &optional vars) 535 (cons '+ (mapcar #'(lambda (x) (->infix x vars)) 536 (poly-termlist self)))) 537
Note:
See TracChangeset
for help on using the changeset viewer.