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 791


Ignore:
Timestamp:
2015-06-08T22:42:58-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/term.lisp

    r790 r791  
    3636             (:include monom)
    3737             ;; BOA constructor. TODO: avoid code duplication with MONOM?
    38              (:constructor make-term (monom &key
    39                                             (ring *ring-of-integers*)
    40                                             (coeff (funcall (ring-unit ring)))
    41                                             (exponents (monom-exponents monom)))
     38             (:constructor make-term (monom &optional
     39                                            (c nil c-supplied)
     40                                            (ring *ring-of-integers* ring-supplied-p)
     41                                            &key
     42                                            (coeff (cond
     43                                                     (c-supplied c)
     44                                                     (ring-supplied-p (funcall (ring-unit ring)))
     45                                                     (t (error "Coefficient or ring must be supplied."))))
     46                                            (exponents (monom-exponents monom))))
    4247             ;;(:constructor make-term-variable)
    4348             ;;(:type list)
Note: See TracChangeset for help on using the changeset viewer.