Changeset 2112 for branches/f4grobner/monom.lisp
- Timestamp:
- 2015-06-17T20:17:22-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monom.lisp
r2111 r2112 138 138 (with-slots (exponents) 139 139 m 140 (reduce #' + exponents :start start :end end)))140 (reduce #'cl:+ exponents :start start :end end))) 141 141 142 142 … … 156 156 m2 157 157 (let* ((exponents (copy-seq exponents1)) 158 (dim (reduce #' + exponents)))159 (map-into exponents #' + exponents1 exponents2)158 (dim (reduce #'cl:+ exponents))) 159 (map-into exponents #'cl:+ exponents1 exponents2) 160 160 (make-instance 'monom :dim dim :exponents exponents))))) 161 161 … … 169 169 m2 170 170 (let* ((exponents (copy-seq exponents1)) 171 (dim (reduce #' + exponents)))172 (map-into exponents #' - exponents1 exponents2)171 (dim (reduce #'cl:+ exponents))) 172 (map-into exponents #'cl:- exponents1 exponents2) 173 173 (make-instance 'monom :dim dim :exponents exponents))))) 174 174 … … 237 237 m2 238 238 (let* ((exponents (copy-seq exponents1)) 239 (dim (reduce #' + exponents)))239 (dim (reduce #'cl:+ exponents))) 240 240 (map-into exponents #'max exponents1 exponents2) 241 241 (make-instance 'monom :dim dim :exponents exponents))))) … … 249 249 m2 250 250 (let* ((exponents (copy-seq exponents1)) 251 (dim (reduce #' + exponents)))251 (dim (reduce #'cl:+ exponents))) 252 252 (map-into exponents #'min exponents1 exponents2) 253 253 (make-instance 'monom :dim dim :exponents exponents)))))
Note:
See TracChangeset
for help on using the changeset viewer.