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


Ignore:
Timestamp:
2015-06-06T19:06:53-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/term.lisp

    r402 r403  
    2222(defpackage "TERM"
    2323  (:use :cl :monomial)
    24   (:export "MAKE-TERM-VARIABLE"
     24  (:export
    2525           "MAKE-TERM"
     26           "MAKE-TERM-VARIABLE"
     27           "TERM-MUL"
    2628           "TERM-SUGAR"))
    2729
     
    5153  (coeff nil))
    5254
    53 (defun term-sugar (term)
    54   (monom-sugar (term-monom term)))
    55 
    56 
    5755(defun term-mul (ring term1 term2)
    5856  "Returns the product of the terms TERM1 and TERM2,
     
    6260    (unless (funcall (ring-zerop ring) c)
    6361      (make-term (monom-mul (term-monom term1) (term-monom term2)) c))))
     62
     63(defun term-sugar (term)
     64  (monom-sugar (term-monom term)))
Note: See TracChangeset for help on using the changeset viewer.