Changeset 4334
- Timestamp:
- 2016-06-05T20:47:00-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r4333 r4334 539 539 :initial-value (leading-coefficient self)))) 540 540 541 (defun poly-primitive-part ( object)542 "Divide polynomial OBJECTby gcd of its541 (defun poly-primitive-part (self) 542 "Divide polynomial SELF by gcd of its 543 543 coefficients. Return the resulting polynomial." 544 (scalar-divide-by object (poly-content object)))544 (scalar-divide-by self (poly-content self))) 545 545 546 546 (defun poly-insert-variables (self k) … … 566 566 destructively modifies F and P." 567 567 (polysaturation-extension f (list p))) 568 569 ;; (defmethod multiply-by ((object1 number) (object2 poly))570 ;; (scalar-multiply-by (copy-instance object2) object1))571 568 572 569 (defmethod multiply-by ((self poly) (other ring))
Note:
See TracChangeset
for help on using the changeset viewer.