close Warning: Can't synchronize with repository "(default)" (The repository directory has changed, you should resynchronize the repository with: trac-admin $ENV repository resync '(default)'). Look in the Trac log for more information.

Changeset 845


Ignore:
Timestamp:
2015-06-09T08:40:55-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/monomial.lisp

    r844 r845  
    7575             ;; NOTE: having a non-default constructor inhibits reading via #S(...)
    7676             (:constructor make-monom (&key
    77                                        (dim 0)
     77                                       (dimension 0)
    7878                                       (initial-exponents #() initial-exponents-supplied-p)
    7979                                       (initial-exponent  #() initial-exponent-supplied-p)
     
    8282                                                    ;; when exponents are supplied
    8383                                                    (initial-exponents-supplied-p
    84                                                      (make-array (list dim) :initial-contents initial-exponents
     84                                                     (make-array (list dimension) :initial-contents initial-exponents
    8585                                                                 :element-type 'exponent))
    8686                                                    ;; when all exponents are to be identical
    8787                                                    (initial-exponent-supplied-p
    88                                                      (make-array (list dim) :initial-element initial-exponent
     88                                                     (make-array (list dimension) :initial-element initial-exponent
    8989                                                                 :element-type 'exponent))
    9090                                                    ;; otherwise, all exponents are zero
    91                                                     (t (make-array (list dim) :element-type 'exponent :initial-element 0))))))
     91                                                    (t (make-array (list dimension) :element-type 'exponent :initial-element 0))))))
    9292             )
    9393  (exponents nil :type (vector exponent *)))
Note: See TracChangeset for help on using the changeset viewer.