close Warning: Can't synchronize with repository "(default)" (The repository directory has changed, you should resynchronize the repository with: trac-admin $ENV repository resync '(default)'). Look in the Trac log for more information.

Changeset 3143 for branches/f4grobner


Ignore:
Timestamp:
2015-06-22T11:31:47-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/term.lisp

    r3142 r3143  
    9494  "Destructively multiply terms SELF and OTHER and store the result into SELF.
    9595It 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))))
    9797
    9898(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)))
    100100  (call-next-method))
    101101
    102102(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)))
    104104  (call-next-method))
    105105
     
    113113  "Destructively divide term SELF by OTHER and store the result into SELF.
    114114It 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)))
    116116  (call-next-method))
    117117
Note: See TracChangeset for help on using the changeset viewer.