poly.hlp 999 B

1234567891011121314151617181920212223242526272829303132
  1. POLY.RED MLG July 82
  2. --------
  3. POLY is a simple (pedagogic) Rational Function Evaluator.
  4. After loading POLY.RED, run function ALGG(); or RAT();
  5. These accept a sequence of expressions:
  6. <exp> ; | QUIT; (Semicolon terminator)
  7. <exp> ::= <term> [+ <exp> | - <exp>]
  8. <term> ::= <primary> [* <term> | / <term>]
  9. <primary> ::= <primary0> [^ <primary0> | ' <primary0> ]
  10. ^ is exponentiation, ' is derivative
  11. <primary0> ::= <number> | <variable> | ( <exp> )
  12. It includes a simple parser (RPARSE), 2 evaluators (RSIMP x)
  13. and (PRESIMP), and 2 prettyprinters, (RATPRINT) and (PREPRINT)
  14. PREFIX Format: <number> | <id> | (op arg1 arg2)
  15. + -> PLUS2
  16. - -> DIFFERENCE (or MINUS)
  17. * -> TIMES2
  18. / -> QUOTIENT
  19. ^ -> EXPT
  20. ' -> DIFF
  21. Canonical Formats: Polynomial: integer | (term . polynomial)
  22. term : (power . polynomial)
  23. power : (variable . integer)
  24. Rational : (polynomial . polynomial)