Changeset 1144
- Timestamp:
- 2015-06-10T19:17:00-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r1143 r1144 382 382 ")"))) 383 383 384 (defun read-poly (vars &key (stream t) )384 (defun read-poly (vars &key (stream t) (ring *ring-of-integers*) (order #'lex>)) 385 385 "Reads an expression in prefix form from a stream STREAM. 386 If the expression represents a polynomial or a list of polynomials in variables VARS then 387 the polynomial or list of polynomials is returned." 386 The expression read from the strem should represent a polynomial or a 387 list of polynomials in variables VARS, over the ring RING. The 388 polynomial or list of polynomials is returned, with terms in each 389 polynomial ordered according to monomial order ORDER." 388 390 (poly-eval (read-infix-form :stream stream) vars)) 389 391
Note:
See TracChangeset
for help on using the changeset viewer.