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 3329 for branches


Ignore:
Timestamp:
2015-06-23T10:28:54-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/monom.lisp

    r3328 r3329  
    7474                                       &allow-other-keys
    7575                                       )
    76   "The following INITIALIZE-INSTANCE method allows instance initialization in a style similar to MAKE-ARRAY, e.g.
     76  "The following INITIALIZE-INSTANCE method allows instance initialization
     77of a MONOM in a style similar to MAKE-ARRAY, e.g.:
    7778
    7879 (MAKE-INSTANCE :EXPONENTS '(1 2 3))      --> #<MONOM EXPONENTS=#(1 2 3)>
    7980 (MAKE-INSTANCE :DIMENSION 3)             --> #<MONOM EXPONENTS=#(0 0 0)>
    8081 (MAKE-INSTANCE :DIMENSION 3 :EXPONENT 7) --> #<MONOM EXPONENTS=#(7 7 7)>
     82
     83If both DIMENSION and EXPONENTS are supplied, they must be compatible,
     84i.e. the length of EXPONENTS must be equal DIMENSION. If EXPONENTS
     85is not supplied, a monom with repeated value EXPONENT is created.
     86By default EXPONENT is 0, which results in a constant monomial.
    8187"
    8288  (cond
Note: See TracChangeset for help on using the changeset viewer.