- Timestamp:
- 2016-05-27T23:44:21-07:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monom.lisp
r3807 r3808 191 191 (error "Incompatible dimensions")) 192 192 (map-into exponents1 #'+ exponents1 exponents2))) 193 self)) 193 self) 194 (:method ((self number) (other term)) 195 (reinitialize-instance other :coeff (multiply self (term-coeff other))))) 194 196 195 197 (defgeneric divide-by (self other) … … 206 208 (error "divide-by: Negative power would result.")) 207 209 (map-into exponents1 #'- exponents1 exponents2))) 208 self)) 210 self) 211 (:method ((self term) (other number)) 212 (reinitialize-instance self :coeff (multiply (term-coeff self) other)))) 209 213 210 214 (defmethod copy-instance :around ((object monom) &rest initargs &key &allow-other-keys)
Note:
See TracChangeset
for help on using the changeset viewer.