Date: 23 May 90 01:38:01 GMT
Organization: Electrical Engineering McGill University
Subject: An HP48 tool box

   Name      : TOOLS - Self extracting toolbox.
   Author    : Pierre Racz  &  Gregor Winslow
   Email     : pierrer <at> pike.ee.mcgill.ca
   Date      : 90-04-29
   Release   : 1.0

   Checksum  : # 4494h
   Bytes     : 2,175.5

   Descrip   :
               Selbst einrichtende Liste von Funktionen.
               Dieses Programm wird den HP48SX mit globalen Utilitys,
               Variablen und Directorys einrichten.

               Einfach im Directory der eigenen Wahl ausfhren.

               Dabei entstehen folgende Funktionen:

               IOTA    Create a list of integers.
               LOP     Apply an operator to elements of a list.
               LPP     Apply an operator on elements of two lists in parallel.
               LRED    Reduce a list into a scalar given an operator.
               LRNG    Returns the Minimum and Maximum of a list.
               LINV    Invert a list
               LST\->  Shift a list right
               LST\<-  Shift a list left
               LCONVL  Produces a Linear Convolution of two lists.
               LOOP    Apply an operator n times.
               FROMTO  Generate n+1 numbers in given range.
               GCD     Greatest Common Divisor
               LCM     Least Common Multiple
               POLY    Create a polynomial algebraic form list of coefficients.
               BINO    Create a binomial algebraic form list of roots.
               SYND    Synthetic division of two polynomials.
               EXCO    Fully expand then fully collect.
               REVAL   Fully evaluate.

               The following empty directories are created:

               EE      Engineering applications
               ETC     Miscellaneous applications
               ECON    Time Value of Money
               HELP    General information storage
               STATS   Stat functions
               TMP     Temp

               The following (dummy) variables are created.  They are
               essentially place holders for variables that the system
               automatically creates.  This preemptive creation ensures that
               the system does not change the ordering of the root directory.

               PRTPAR  Printer parameters.
               IOPAR   IO parameters.

               They USER Keys are defined and so are the System flags.
               A comment has to be removed to enable this feature.

   Usage     :
               1:                      No parameters required.
               TOOLS
               1:                      Returns Nothing

---------------------------------------

   ---
   Erzeugen eines PPolynoms

   2:  'X'                             Variable
   1:  { 1 2 -3 4 }                    Liste von Polynom-koeffizienten.
   POLY
   1:  'X^3+2*X^2-3*X+4'               Polynom

   ---
   Polynom Division

   2:  { 2 11 17 6 }                   2*X^3 + 11*X^2 + 17*X + 6
   1:  { 2 1 }                         divided 2*X + 1
       SYND
   2:  { 0 }                           Rest      : 0
   1:  { 1 5 6 }                       Quotient  : X^2 + 5*X + 6


   ---
   Erzeugen eines Binoms

   2:  'X'                             Variable
   1:  { 1 2 -3 }                      List der Wurzeln
   BINO
   1:  '(X-1)*(X-2)*(X+3)'             Binom

   ---
   Zerlegen und Zusammenfassen

   1:  '(X-1)*(X-2)'
   EXCO
   1:  '2+X^2-3*X'

   ---
   Repeated Eval (until no change)

   ---
   Groesster gemeinsamer Teiler.   GCD

   ---
   Kleinster gemeinsamer Multiplikator.     LCM

   ---
   Erzeugt eine Liste ganzer Zahlen von 0 bis N

   1:  5                               n
       IOTA
   1:  { 0 1 2 3 4 5 }                 Erzeugt n+1 Elemente.
   
   ---
   Invertiert Liste.

   1:  { 0 1 2 3 4 5 }
       LINV
   1:  { 5 4 3 2 1 0 }

   ---
   Rotatiert die Liste Rechts

   1:  { 0 1 2 3 4 5 }
       LST\->
   1:  { 5 0 1 2 3 4 }

   ---
   Rotatiert die Liste Links

   1:  { 0 1 2 3 4 5 }
       LST\<-
   1:  { 1 2 3 4 5 0 }


   ---
   List OP.

   2:  { 0 1 2 3 4 5 }
   1:  \<< 1 + \>>                     Incrementiert jedes Element der Liste.
       LOP
   1:  { 1 2 3 4 5 6 }

   ---
   List Parallel Process.

   3:  { 0 1 2 3 4 5 }
   2:  { 5 4 3 2 1 0 }
   1:  \<< * \>>                       Multipliziert Elemente.
       LPP
   1:  { 0 4 6 6 4 0 }

   ---
   Liste Reduzieren.

   2:  { 0 1 2 3 4 5 }
   1:  \<< + \>>                       Summiert die Elemente der Liste.
       LRED
   1:  15

   ---
   Kleinstes und groesstes Element

   1:  { 3 4 -2 1 8 }
       LRNG
   2:  -2                              Minimum element of list.
   1:  8                               Maximum element of list.

   ---
   Linear Convolution (Multiply two polynomials)

   2:  { 1 2 1 }                       X^2+2*X+1
   1:  { 1 3 3 1 }                     X^3+3*X^2+3*X+1
       LCONVL
   1:  { 1 5 10 10 5 1 }               X^5 + 5*X^4 + 10*X^3 + 10*X^2 + 5*X + 1

   ---
   Executes operation N times.

   4:  { 1 1 }
   3:  { 1 1 }                         Raise this poly to the 4th power.
   2:  \<< OVER LCONVL \>>
   1:  4
       LOOP
   2:  { 1 1 }
   1:  { 1 5 10 10 5 1 }

   ---
   Creates List of n+1 elements from a to b.

   3:  5                               Want 5+1 elements
   2:  1                               From 1
   1:  2                               To   2
       FROMTO
   1:  { 1  1.2  1.4  1.6  1.8  2 }


Umdefinierte Tasten
        13.1                            @      C
        14.1                            @      D
        42.1                            @      T
    MKDOC  14.2                         @ Gold-D
    EXCO   15.1                         @      E
    FROMTO 16.1                         @      F
    GCD    21.1                         @      G
    IOTA   23.1                         @      I
    LINV   23.2                         @ Gold-I
    LOOP   26.1                         @      L
    LOP    33.1                         @      O
    LPP    34.1                         @      P
    LRED   36.1                         @      R
    LRNG   36.2                         @ Gold-R


Um die umdefinierten Tasten zu aktivieren:
 Hinten im Programm, hinter den Zeilen         LRNG  36.2
                                               }
 Den Befehl STOKEYS einseten.
 Der DROP-Befehl eine Zeile tiefer, muss nun geloescht werden.

Um das automatische Setzen der Flags zu aktivieren:
 Noch weiter hinten im Programm, eine Zeile unter der Flagliste in {}
 wird der Befehl STOF eingefuegt.
 Auch hier mu der DROP-Befehl entfallen.

Das Einruecken der Befehle spielt keine Rolle, am besten der Befehl
faengt in der selben Zeile wie der zu loeschende DROP-Befehl an.


Uebersetzung und Zusaetze in der Anleitung von P.Werner  Programmreferat FH-WHV
3'92

Den Rest werde ich auch noch uebersetzen.


