Changeset 2215 for branches/f4grobner/monom.lisp
- Timestamp:
- 2015-06-18T10:36:40-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monom.lisp
r2214 r2215 64 64 (princ (slot-value m 'exponents) stream)) 65 65 66 (defmethod initialize-instance :after((self monom)67 68 69 70 66 (defmethod initialize-instance ((self monom) 67 &key 68 (dimension nil dimension-suppied-p) 69 (exponents nil exponents-supplied-p) 70 (exponent nil exponent-supplied-p)) 71 71 "A constructor (factory) of monomials. If DIMENSION is given, a 72 72 sequence of DIMENSION elements of type EXPONENT is constructed, where … … 74 74 to 0. Alternatively, all elements may be specified as a list 75 75 EXPONENTS." 76 (format t "INITIALIZE-INSTANCE called with SELF ~A,DIMENSION ~A(~A), EXPONENTS ~A(~A), EXPONENT ~A(~A).~%"77 selfdimension dimension-suppied-p76 (format t "INITIALIZE-INSTANCE called with DIMENSION ~A(~A), EXPONENTS ~A(~A), EXPONENT ~A(~A).~%" 77 dimension dimension-suppied-p 78 78 exponents exponents-supplied-p 79 79 exponent exponent-supplied-p) 80 #| 80 81 (let ((new-dimension (cond (dimension-suppied-p dimension) 81 82 (exponents-supplied-p … … 95 96 (t 96 97 (make-array (list dimension) :element-type 'exponent :initial-element 0))))) 97 )) 98 |# 99 (call-next-method)) 98 100 99 101 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Note:
See TracChangeset
for help on using the changeset viewer.