close Warning: Can't synchronize with repository "(default)" (The repository directory has changed, you should resynchronize the repository with: trac-admin $ENV repository resync '(default)'). Look in the Trac log for more information.

Changeset 1144 for branches/f4grobner


Ignore:
Timestamp:
2015-06-10T19:17:00-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r1143 r1144  
    382382     ")")))
    383383       
    384 (defun read-poly (vars &key (stream t))
     384(defun read-poly (vars &key (stream t) (ring *ring-of-integers*) (order #'lex>))
    385385  "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."
     386The expression read from the strem should represent a polynomial or a
     387list of polynomials in variables VARS, over the ring RING.  The
     388polynomial or list of polynomials is returned, with terms in each
     389polynomial ordered according to monomial order ORDER."
    388390  (poly-eval (read-infix-form :stream stream) vars))
    389391
Note: See TracChangeset for help on using the changeset viewer.