Changeset 3328 for branches/f4grobner
- Timestamp:
- 2015-06-23T10:25:48-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monom.lisp
r3327 r3328 67 67 exponents)))) 68 68 69 ;; The following INITIALIZE-INSTANCE method allows instance70 ;; initialization in a style similar to MAKE-ARRAY, e.g.71 ;;72 ;; (MAKE-INSTANCE :EXPONENTS '(1 2 3)) --> #<MONOM EXPONENTS=#(1 2 3)>73 ;; (MAKE-INSTANCE :DIMENSION 3) --> #<MONOM EXPONENTS=#(0 0 0)>74 ;; (MAKE-INSTANCE :DIMENSION 3 :EXPONENT 7) --> #<MONOM EXPONENTS=#(7 7 7)>75 ;;76 69 (defmethod initialize-instance :after ((self monom) 77 70 &key … … 81 74 &allow-other-keys 82 75 ) 76 "The following INITIALIZE-INSTANCE method allows instance initialization in a style similar to MAKE-ARRAY, e.g. 77 78 (MAKE-INSTANCE :EXPONENTS '(1 2 3)) --> #<MONOM EXPONENTS=#(1 2 3)> 79 (MAKE-INSTANCE :DIMENSION 3) --> #<MONOM EXPONENTS=#(0 0 0)> 80 (MAKE-INSTANCE :DIMENSION 3 :EXPONENT 7) --> #<MONOM EXPONENTS=#(7 7 7)> 81 " 83 82 (cond 84 83 (exponents-supplied-p
Note:
See TracChangeset
for help on using the changeset viewer.