Changeset 3891 for branches/f4grobner
- Timestamp:
- 2016-05-28T23:12:46-07:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/symbolic-polynomial.lisp
r3890 r3891 76 76 ((eq expr 0) 77 77 (make-instance 'symbolic-poly :dimension (length vars) :vars vars)) 78 ((numberp expr) 79 (change-class (make-term-constant (length vars) expr) 'symbolic-poly :vars vars)) 78 80 ((member expr vars :test #'equalp) 79 81 (let ((pos (position expr vars :test #'equalp))) 80 ( make-poly-variable (length vars) pos)))82 (change-class (make-poly-variable (length vars) pos) 'symbolic-poly :vars vars))) 81 83 ((atom expr) 82 84 expr)
Note:
See TracChangeset
for help on using the changeset viewer.