Changeset 3842 for branches/f4grobner
- Timestamp:
- 2016-05-28T12:20:38-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/symbolic-polynomial.lisp
r3841 r3842 210 210 (defgeneric poly->string (self &optional vars) 211 211 (:documentation "Render polynomial SELF as a string, using symbolic variables VARS.") 212 (:method :before ((self poly) &optional (vars nil))213 ;; Ensure that the number of variables matches the dimension214 (assert (= (length vars) (poly-dimension self))))215 212 (:method ((self poly) &optional (vars nil)) 213 ;; Ensure that the number of variables matches the dimension 214 (assert (= (length vars) (poly-dimension self)))) 216 215 (infix-print (->infix self vars))) 217 216 (:method ((self symbolic-poly) &optional (vars (symbolic-poly-vars self)))
Note:
See TracChangeset
for help on using the changeset viewer.