Changeset 886
- Timestamp:
- 2015-06-09T12:25:28-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monomial.lisp
r884 r886 188 188 (defmacro monom-contract (k m) 189 189 `(setf ,m (subseq ,m ,k))) 190 191 (defun make-monom-variable (nvars pos &optional (power 1) 192 &aux (m (make-monom :dimension nvars))) 193 "Construct a monomial in the polynomial ring 194 RING[X[0],X[1],X[2],...X[NVARS-1]] over the (unspecified) ring RING 195 which represents a single variable. It assumes number of variables 196 NVARS and the variable is at position POS. Optionally, the variable 197 may appear raised to power POWER. " 198 (setf (monom-elt m pos) power) 199 m)
Note:
See TracChangeset
for help on using the changeset viewer.