- Timestamp:
- 2016-05-29T14:39:13-07:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r3904 r3905 559 559 560 560 (defmethod ->infix :before ((self poly) &optional vars) 561 "Ensures that the number of variables in VARS maches the polynomial dimension of the 562 polynomial SELF." 561 563 (assert (= (length vars) (poly-dimension self)))) 562 564 563 565 (defmethod ->infix ((self poly) &optional vars) 566 "Converts a polynomial SELF to a sexp." 564 567 (cons '+ (mapcar #'(lambda (x) (->infix x vars)) 565 568 (poly-termlist self))))
Note:
See TracChangeset
for help on using the changeset viewer.