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


Ignore:
Timestamp:
2015-06-18T14:22:35-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/term.lisp

    r2276 r2283  
    4848          (slot-value self 'coeff)))
    4949
    50 (defun make-term (&key
    51                     (exponents nil exponents-supplied-p)
    52                     (monom nil monom-supplied-p)
    53                     coeff
    54                   &aux
    55                     (exponents
    56                      (cond (monom-supplied-p (monom-coefficients monom))
    57                            (exponents-supplied-p exponents)
    58                            (t (error "Either COEFFICIENTS or MONOM must be supplied.")))))
    59   (make-instance 'term :exponents exponents :coeff coeff))
     50(defun initialize-instance ((self term)
     51                            &key
     52                              dimension
     53                              exponents
     54                              coef
     55                              monom)
     56  (setf (slot-value self 'coeff) coeff))
    6057
    6158(defun make-term-variable (nvars pos
Note: See TracChangeset for help on using the changeset viewer.