Changeset 726 for branches/f4grobner
- Timestamp:
- 2015-06-08T20:28:24-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monomial.lisp
r725 r726 73 73 (defstruct (monom 74 74 ;; BOA constructor 75 (:constructor make-monom (&optional dim (exponents (make-array (list dim) :element-type 'exponent))))) 75 (:constructor make-monom ( dim 76 &key 77 (initial-contents #() initial-contents-supplied-p) 78 (initial-element #() initial-element-supplied-p) 79 (exponents (cond 80 (initial-contents-supplied-p 81 (make-array (list dim) :initial-contents initial-contents 82 :element-type 'exponent)) 83 (initial-element-supplied-p 84 (make-array (list dim) :initial-element initial-element 85 :element-type 'exponent)) 86 (t (make-array (list dim) :element-type 'exponent :initial-element 0))))))) 76 87 (dim 0 :type fixnum) 77 (exponents #():type (vector exponent *)))88 (exponents nil :type (vector exponent *))) 78 89 79 90
Note:
See TracChangeset
for help on using the changeset viewer.