Previous: Polynomial and rational function manipulation Up: Polynomial and rational function manipulation Next: Builtin operations for CRE

Conversion between General Representation and CRE

In the lisp-level of Macsyma it is sometimes more convenient to deal with CRE and polynomial forms in implementing certain algorithms. If you decide the computation in your algorithm is best done in polynomial representation you can take user input expressions,

  1. Convert them to CRE and polynomial form.
  2. Perform the computation.
  3. Convert your final answers back to the general representation.

Converting into CRE form:

Converting into general representation


(ratdisrep {\it CRE})     to convert a {\it CRE}
(pdis {\it poly})         to convert a {\it poly}

farrell@mcs.kent.edu