Changeset 3800 for branches/f4grobner
- Timestamp:
- 2016-05-27T22:30:30-07:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monom.lisp
r3799 r3800 222 222 (defun multiply (&rest factors) 223 223 "Non-destructively multiply list FACTORS." 224 (reduce #'multiply-2 factors :initial-value 1)) 224 (cond ((endp factors) 1) 225 ((endp (rest factors)) (first factors)) 226 (t (reduce #'multiply-2 factors :initial-value 1)))) 225 227 226 228 (defun divide (numerator &rest denominators)
Note:
See TracChangeset
for help on using the changeset viewer.