- Timestamp:
- 2015-06-22T11:31:47-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/term.lisp
r3142 r3143 94 94 "Destructively multiply terms SELF and OTHER and store the result into SELF. 95 95 It returns SELF." 96 (setf ( r-coeff self) (multiply-by (r-coeff self) (r-coeff other))))96 (setf (scalar-coeff self) (multiply-by (scalar-coeff self) (scalar-coeff other)))) 97 97 98 98 (defmethod left-tensor-product-by ((self term) (other term)) 99 (setf ( r-coeff self) (multiply-by (r-coeff self) (r-coeff other)))99 (setf (scalar-coeff self) (multiply-by (scalar-coeff self) (scalar-coeff other))) 100 100 (call-next-method)) 101 101 102 102 (defmethod right-tensor-product-by ((self term) (other term)) 103 (setf ( r-coeff self) (multiply-by (r-coeff self) (r-coeff other)))103 (setf (scalar-coeff self) (multiply-by (scalar-coeff self) (scalar-coeff other))) 104 104 (call-next-method)) 105 105 … … 113 113 "Destructively divide term SELF by OTHER and store the result into SELF. 114 114 It returns SELF." 115 (setf ( r-coeff self) (divide-by (r-coeff self) (r-coeff other)))115 (setf (scalar-coeff self) (divide-by (scalar-coeff self) (scalar-coeff other))) 116 116 (call-next-method)) 117 117
Note:
See TracChangeset
for help on using the changeset viewer.