- Timestamp:
- 2016-06-06T17:32:54-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/ring.lisp
r4342 r4349 43 43 "INTEGER-RING" 44 44 "INTEGER-RING-VALUE" 45 "MULTIPLY" 45 46 ) 46 47 (:documentation "Defines an abstract ring class and ring operations.") … … 96 97 (:documentation "Create a unit in the ring of SELF. A fresh instance 97 98 should be returned upon every call.")) 99 100 (defgeneric multiply (factor &rest more-factors) 101 (:documentation "Successively multiplies factor FACTOR by the remaining arguments 102 MORE-FACTORS, using MULTIPLY-BY to multiply two factors. Thus 103 FACTOR may be destructively modified.") 104 (:method ((factor t) & rest more-factors) 105 (reduce #'multiply-by more-factors :initial-value (copy-instance factor)))) 106
Note:
See TracChangeset
for help on using the changeset viewer.