Changeset 2967 for branches/f4grobner
- Timestamp:
- 2015-06-21T14:29:07-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/term.lisp
r2954 r2967 115 115 self) 116 116 117 (defun copy-term (term)118 (make-instance 'term119 :dimension (monom-dimension term)120 :exponents (copy-seq (monom-exponents term))121 :coeff (term-coeff term)))122 123 117 (defmethod r* ((term1 term) (term2 term)) 124 118 "Non-destructively multiply TERM1 by TERM2." 125 (multiply-by (copy- term term1) (copy-termterm2)))119 (multiply-by (copy-instance term1) (copy-instance term2))) 126 120 127 121 (defmethod r-zerop ((self term))
Note:
See TracChangeset
for help on using the changeset viewer.