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


Ignore:
Timestamp:
2016-06-04T20:59:46-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r4256 r4275  
    305305       ;;(format t "R:~A~%" r)
    306306       )))
    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))))
    316307 
    317 
    318308(defgeneric subtract-from (self other)
    319309  (:documentation "Subtract OTHER from SELF.")
Note: See TracChangeset for help on using the changeset viewer.