Changeset 4275
- Timestamp:
- 2016-06-04T20:59:46-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r4256 r4275 305 305 ;;(format t "R:~A~%" r) 306 306 ))) 307 308 309 310 (defgeneric add-to (self other)311 (:documentation "Add OTHER to SELF.")312 (:method ((self number) (other number))313 (+ self other))314 (:method ((self poly) (other number))315 (add-to self (make-poly-constant (poly-dimension self) other))))316 307 317 318 308 (defgeneric subtract-from (self other) 319 309 (:documentation "Subtract OTHER from SELF.")
Note:
See TracChangeset
for help on using the changeset viewer.