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


Ignore:
Timestamp:
2016-05-28T23:15:43-07:00 (8 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/symbolic-polynomial.lisp

    r3892 r3893  
    7575    (cond
    7676      ((eq expr 0)
    77        (make-instance 'symbolic-poly :dimension (length vars) :vars vars))
     77       (make-instance 'poly :dimension (length vars)))
    7878      ((numberp expr)
    79        (change-class (make-term-constant (length vars) expr) 'symbolic-poly :vars vars))
     79       (make-term-constant (length vars) expr))
    8080      ((member expr vars :test #'equalp)
    8181       (let ((pos (position expr vars :test #'equalp)))
    82          (change-class (make-poly-variable (length vars) pos) 'symbolic-poly :vars vars)))
     82         (make-poly-variable (length vars) pos)))
    8383      ((atom expr)
    8484       expr)
Note: See TracChangeset for help on using the changeset viewer.