Changeset 4288
- Timestamp:
- 2016-06-04T21:28:13-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r4287 r4288 637 637 (let ((pos (position expr vars :test #'equalp))) 638 638 (make-poly-variable (length vars) pos))) 639 (( integerpexpr)640 (make-poly-constant (length vars) (make-instance ' integer-ring :value expr)))639 ((rational expr) 640 (make-poly-constant (length vars) (make-instance 'rational-ring :value expr))) 641 641 ((eq (car expr) +list-marker+) 642 642 (cons +list-marker+ (p-eval-list (cdr expr))))
Note:
See TracChangeset
for help on using the changeset viewer.