Changeset 4127 for branches/f4grobner
- Timestamp:
- 2016-06-01T14:22:18-07:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monom.lisp
r4100 r4127 563 563 exponents coeff)))) 564 564 565 (defmethod copy-instance :around ((object term) &rest initargs &key &allow-other-keys) 566 "An :AROUND method of COPY-INSTANCE. It replaces the coefficient with a fresh copy." 567 (declare (ignore object initargs)) 568 (let ((copy (call-next-method))) 569 (setf (term-coeff copy) (copy-instance (term-coeff))) 570 copy)) 571 565 572 (defmethod multiply-by ((self term) (other number)) 566 573 (reinitialize-instance self :coeff (multiply-by (term-coeff self) other)))
Note:
See TracChangeset
for help on using the changeset viewer.