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


Ignore:
Timestamp:
2015-06-09T13:10:21-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/termlist.lisp

    r893 r894  
    5656          p))
    5757
    58 (defun termlist-extend (p &optional (m (make-monom 1 :initial-exponent 0)))
     58(defun termlist-extend (p &optional (m (make-monom :dimension 1)))
    5959  "Extend every monomial in a polynomial P by inserting at the
    6060beginning of every monomial the list of powers M."
     
    6868  (declare (fixnum n))
    6969  (mapcar #'(lambda (term)
    70               (make-term (monom-append (make-monom n :initial-exponent 0)
     70              (make-term (monom-append (make-monom :dimension n)
    7171                                       (term-monom term))
    7272                         (term-coeff term)))
Note: See TracChangeset for help on using the changeset viewer.