Changeset 3738 for branches/f4grobner
- Timestamp:
- 2015-09-13T23:44:40-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/symbolic-polynomial.lisp
r3735 r3738 80 80 ((member expr vars :test #'equalp) 81 81 (let ((pos (position expr vars :test #'equalp))) 82 ( change-class (make-monom-variable (length vars) pos) 'poly)))82 (make-poly-variable (length vars) pos))) 83 83 ((atom expr) 84 84 expr) … … 108 108 ;;Special handling of (expt var pow) 109 109 (let ((pos (position (cadr expr) vars :test #'equalp))) 110 ( change-class (make-monom-variable (length vars) pos (caddr expr)) 'poly)))110 (make-monom-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.