Changeset 4207
- Timestamp:
- 2016-06-04T12:02:59-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/division.lisp
r4206 r4207 182 182 (defun normal-form (f fl &optional (top-reduction-only $poly_top_reduction_only)) 183 183 #+grobner-check(when (null fl) (warn "normal-form: empty divisor list.")) 184 (when (universal-zerop f) 185 #+grobner-check(when (null fl) (warn "normal-form: Dividend is zero.")) 186 ;; NOTE: When the polynomial F is zero, we cannot constuct the 187 ;; unit in the coefficient field. 188 (return-from normal-form (values f nil 0))) 184 189 (do ((r (make-zero-for f)) 185 190 (c (make-unit-for (leading-coefficient f)))
Note:
See TracChangeset
for help on using the changeset viewer.