Changeset 3895 for branches/f4grobner
- Timestamp:
- 2016-05-28T23:17:36-07:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/symbolic-polynomial.lisp
r3894 r3895 75 75 (cond 76 76 ((eq expr 0) 77 (make-instance ' poly :dimension (length vars)))77 (make-instance 'symbolic-poly :dimension (length vars) :vars vars)) 78 78 ((numberp expr) 79 79 (make-term-constant (length vars) expr)) … … 108 108 ;;Special handling of (expt var pow) 109 109 (let ((pos (position (cadr expr) vars :test #'equalp))) 110 (make-poly-variable (length vars) pos (caddr expr)) 'symbolic-poly :vars vars))110 (make-poly-variable (length vars) pos (caddr expr)))) 111 111 ((not (and (integerp (caddr expr)) (plusp (caddr expr)))) 112 112 ;; Negative power means division in coefficient ring
Note:
See TracChangeset
for help on using the changeset viewer.