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


Ignore:
Timestamp:
2016-05-28T01:34:21-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/monom.lisp

    r3824 r3826  
    5252           "MAKE-TERM-CONSTANT"
    5353           "->LIST"
     54           "->INFIX"
    5455           "LEX>"
    5556           "GRLEX>"
     
    601602    "A human-readable representation of a term SELF as a cons of the list of exponents and the coefficient."
    602603    (cons (coerce (monom-exponents self) 'list) (term-coeff self))))
     604
     605(defgeneric ->infix (self &optional vars)
     606  (:method ((self monom) &optional vars)
     607    (with-slots (exponents dimension)
     608    (makelist-1 (exp (elt i vars) ( elt i exponents)) i 0 dimension))))
Note: See TracChangeset for help on using the changeset viewer.