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 984 for branches/f4grobner


Ignore:
Timestamp:
2015-06-09T20:46:06-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r983 r984  
    155155   (poly-sugar p)))
    156156
    157 (defun poly-mul (ring p q)
    158   (make-poly-from-termlist (termlist-mul ring (poly-termlist p) (poly-termlist q)) (+ (poly-sugar p) (poly-sugar q))))
     157(defun poly-mul (ring-and-order p q)
     158  (declare (type ring-and-order ring-and-order) (type poly p q))
     159  (make-poly-from-termlist
     160   (termlist-mul ring (poly-termlist p) (poly-termlist q))
     161   (+ (poly-sugar p) (poly-sugar q))))
    159162
    160163(defun poly-expt (ring p n)
Note: See TracChangeset for help on using the changeset viewer.