Changeset 3893 for branches/f4grobner
- Timestamp:
- 2016-05-28T23:15:43-07:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/symbolic-polynomial.lisp
r3892 r3893 75 75 (cond 76 76 ((eq expr 0) 77 (make-instance ' symbolic-poly :dimension (length vars) :vars vars))77 (make-instance 'poly :dimension (length vars))) 78 78 ((numberp expr) 79 ( change-class (make-term-constant (length vars) expr) 'symbolic-poly :vars vars))79 (make-term-constant (length vars) expr)) 80 80 ((member expr vars :test #'equalp) 81 81 (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))) 83 83 ((atom expr) 84 84 expr)
Note:
See TracChangeset
for help on using the changeset viewer.