intro.tex 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. This manual describes the REDUCE symbolic mathematics system. REDUCE has
  2. two modes of operation: the algebraic mode, which deals with polynomials
  3. and mathematical functions in a simple procedural syntax, and the symbolic
  4. mode, which allows Lisp-like syntax and operations. The commands,
  5. declarations, switches and operators available in algebraic-mode REDUCE
  6. are arranged in this manual in alphabetical order. Symbols are listed
  7. before the letter A.
  8. Following the general alphabetical reference section is a similar
  9. reference section for the High-Energy Physics operators. After that, you
  10. can find several cross-reference sections. The first section contains
  11. lists of reserved words and an Instant Function Cross-Reference. Next you
  12. will find brief explanations of the common REDUCE error messages. The
  13. next section is organized by type into Commands, Declarations, Operators,
  14. Switches and Variables, with a brief listing for each operation.
  15. For a general introduction to using algebraic-mode REDUCE, see the {\em
  16. REDUCE User's Guide}, which also contains information on symbolic mode.
  17. The {\em The Standard Lisp Report} is a technical reference on REDUCE's
  18. Lisp language.
  19. The following symbols are used to describe syntax in this manual:
  20. \begin{verbatim}
  21. This font means you must type an item exactly as you see it.
  22. \end{verbatim}
  23. {\em This font indicates a descriptive name for a type of REDUCE expression.
  24. You may choose any REDUCE expression of the appropriate type.}
  25. \begin{description}
  26. \item[\meta{\{\}}]
  27. Braces surround an item or set of items that may be followed by an
  28. asterisk or plus. Do not type the braces.
  29. \item[\meta{*}]
  30. An italic asterisk indicates that the preceding item may be repeated zero or
  31. more times. Do not type the asterisk. It does not indicate multiplication.
  32. \item[\meta{+}]
  33. An italic plus indicates that the preceding item must appear once, and may be
  34. repeated one or more times. Do not type the plus. It does not indicate
  35. addition.
  36. \item[\meta{\&option(...)}]
  37. \meta{\&option} indicates that the parameters that follow are optional.
  38. \meta{\&options} indicates that options are available and explained in the
  39. text below the command line. \meta{\&option(s)} is not to be typed.
  40. \end{description}
  41. The switch settings for REDUCE in the examples in this manual are assumed to
  42. be the default settings, unless specifically given otherwise. See the
  43. cross-reference section \meta{Switches} in the back of this volume.
  44. The examples in this manual should exactly reproduce the results you get
  45. by typing in the statements given. Any non-default switch settings are
  46. shown. Be sure that the variables or operators used have no prior definition
  47. by using the \name{clear} command. The numbered line prompts have generally
  48. been left out. You can find executable files of all the examples shown here
  49. in your \name{\$reduce/refex} directory, named alphabetically. If you are
  50. working your way through this manual, you can run the examples as you go by
  51. starting a new REDUCE session, and entering the command, for example:
  52. \begin{verbatim}
  53. in "$reduce/refex/a-ex";
  54. \end{verbatim}
  55. There are numerous pauses in the files so that you can enter your own
  56. examples and commands. If you change any switch settings or assign values
  57. to variables in one of the pauses, make sure to restore everything to its
  58. original state before you continue the file (see the entry under \name{CLEAR}
  59. if you need help in clearing variables and operators).
  60. REDUCE converts all input to upper case, and all its responses are in upper
  61. case. You can type input in upper case, lower case, or mixed, as you wish.
  62. In the examples, the input is lower case, and REDUCE's responses are shown in
  63. upper case. This protocol makes it easy to distinguish input from results.
  64. You can tell whether you are in algebraic or symbolic mode by looking at the
  65. numbered prompt statement REDUCE gives you: the algebraic prompt contains
  66. a colon (\name{:}), while the symbolic prompt contains an asterisk (\name{*}).