Changeset 3133 for branches/f4grobner
- Timestamp:
- 2015-06-22T11:10:14-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/term.lisp
r3132 r3133 44 44 and powers of some variables, such as 5*X^2*Y^3.")) 45 45 46 (defmethod r-coeff ((self term))47 (term-coeff self))48 49 (defmethod (setf r-coeff) (new-value (self term))50 (setf (term-coeff self) new-value))51 52 46 (defmethod r-equalp ((term1 term) (term2 term)) 53 47 (and (r-equalp (term-coeff term1) (term-coeff term2)) … … 55 49 56 50 (defmethod print-object ((self term) stream) 57 (format stream "#<TERM DIMENSION=~A EXPONENTS=~A COEFF=~A>"58 ( r-dimension self)59 ( r-exponents self)60 ( r-coeffself)))51 (format stream "#<TERM DIMENSION=~A EXPONENTS=~A VALUE=~A>" 52 (monom-dimension self) 53 (monom-exponents self) 54 (scalar-value self))) 61 55 62 56 (defmethod shared-initialize ((self term) slot-names
Note:
See TracChangeset
for help on using the changeset viewer.