5f892713c3 2021-03-03 trnsz@pobox.c: %%%%%%%%%%%%%%%%%%%%%%
5f892713c3 2021-03-03 trnsz@pobox.c: % WELCOME TO iCAS
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % The core of iCAS is based on REDUCE, a
5f892713c3 2021-03-03 trnsz@pobox.c: % powerful CAS system with comparable
5f892713c3 2021-03-03 trnsz@pobox.c: % capabilities to Maple and Mathematica
5f892713c3 2021-03-03 trnsz@pobox.c: % with a track record spanning over 40 years
5f892713c3 2021-03-03 trnsz@pobox.c: % in academic and research institutions.
5f892713c3 2021-03-03 trnsz@pobox.c: % iCAS brings all the capabilities of
5f892713c3 2021-03-03 trnsz@pobox.c: % REDUCE and the embedded gnuplot
5f892713c3 2021-03-03 trnsz@pobox.c: % plotting engine to your iPhone or iPod
5f892713c3 2021-03-03 trnsz@pobox.c: % touch.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % Best of all, iCAS is entirely self-contained
5f892713c3 2021-03-03 trnsz@pobox.c: % and runs natively on your iPhone or iPod
5f892713c3 2021-03-03 trnsz@pobox.c: % touch so no internet connection is required
5f892713c3 2021-03-03 trnsz@pobox.c: % to harness its power.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % This file is written as a short tutorial
5f892713c3 2021-03-03 trnsz@pobox.c: % to walk you through some simple examples
5f892713c3 2021-03-03 trnsz@pobox.c: % to become familiar with the app and help
5f892713c3 2021-03-03 trnsz@pobox.c: % you get started.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: %%%%%%%%%%%%%%%%%%%%%%
5f892713c3 2021-03-03 trnsz@pobox.c: % BASIC USAGE
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % Enter the desired command or operation
5f892713c3 2021-03-03 trnsz@pobox.c: % and press return to execute the command or
5f892713c3 2021-03-03 trnsz@pobox.c: % operation. Try it by tapping to the right of
5f892713c3 2021-03-03 trnsz@pobox.c: % the semicolon on the line below and then
5f892713c3 2021-03-03 trnsz@pobox.c: % tapping return.
5f892713c3 2021-03-03 trnsz@pobox.c:
5f892713c3 2021-03-03 trnsz@pobox.c: 6 * 7;
5f892713c3 2021-03-03 trnsz@pobox.c:
5f892713c3 2021-03-03 trnsz@pobox.c: % If fancy output is enabled, the results can be
5f892713c3 2021-03-03 trnsz@pobox.c: % viewed in a typeset format by tapping a
5f892713c3 2021-03-03 trnsz@pobox.c: % translucent button that appears on the upper
5f892713c3 2021-03-03 trnsz@pobox.c: % right hand corner of this view when there is
5f892713c3 2021-03-03 trnsz@pobox.c: % fancy output or when iCAS detects LaTeX
5f892713c3 2021-03-03 trnsz@pobox.c: % content. The output view can be zoomed
5f892713c3 2021-03-03 trnsz@pobox.c: % using the standard pinch gestures.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % Fancy output can be globally enabled with
5f892713c3 2021-03-03 trnsz@pobox.c: % the "Create Fancy Output" setting or on a
5f892713c3 2021-03-03 trnsz@pobox.c: % case by case basis using the fancy switch.
5f892713c3 2021-03-03 trnsz@pobox.c: % If fancy output is enabled and the
5f892713c3 2021-03-03 trnsz@pobox.c: % "Automatically Show" option is enabled,
5f892713c3 2021-03-03 trnsz@pobox.c: % iCAS will automatically show the rendered
5f892713c3 2021-03-03 trnsz@pobox.c: % fancy output when it is generated.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % Execute the following lines (i.e. place the
5f892713c3 2021-03-03 trnsz@pobox.c: % cursor to the right of the semicolon and tap
5f892713c3 2021-03-03 trnsz@pobox.c: % the return key) to see the difference
5f892713c3 2021-03-03 trnsz@pobox.c: % between plain and fancy output.
5f892713c3 2021-03-03 trnsz@pobox.c:
5f892713c3 2021-03-03 trnsz@pobox.c: df(x^x,x);
5f892713c3 2021-03-03 trnsz@pobox.c: on fancy;
5f892713c3 2021-03-03 trnsz@pobox.c: df(x^x,x);
5f892713c3 2021-03-03 trnsz@pobox.c:
5f892713c3 2021-03-03 trnsz@pobox.c: % Notice the pseudo-LaTeX output format
5f892713c3 2021-03-03 trnsz@pobox.c: % and the "TeX" translucent button that
5f892713c3 2021-03-03 trnsz@pobox.c: % appeared on the top right of the window.
5f892713c3 2021-03-03 trnsz@pobox.c: % Tapping the "TeX" button generates a
5f892713c3 2021-03-03 trnsz@pobox.c: % typeset version of the file that can be
5f892713c3 2021-03-03 trnsz@pobox.c: % optionally emailed as a LaTeX source file
5f892713c3 2021-03-03 trnsz@pobox.c: % for publishing, presentation, and/or sharing
5f892713c3 2021-03-03 trnsz@pobox.c: % with colleagues.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % Fancy output works best with a line length
5f892713c3 2021-03-03 trnsz@pobox.c: % of 80 or more. iCAS sets the linelength to
5f892713c3 2021-03-03 trnsz@pobox.c: % the optimal width for plain output when a
5f892713c3 2021-03-03 trnsz@pobox.c: % CAS session is started based on the font
5f892713c3 2021-03-03 trnsz@pobox.c: % style and size settings. Therefore, we
5f892713c3 2021-03-03 trnsz@pobox.c: % recommend setting the linelength to 80
5f892713c3 2021-03-03 trnsz@pobox.c: % when using fancy output. iCAS provides a
5f892713c3 2021-03-03 trnsz@pobox.c: % convenience command called fancy_output
5f892713c3 2021-03-03 trnsz@pobox.c: % that sets the fancy switch and sets the
5f892713c3 2021-03-03 trnsz@pobox.c: % linelength to 80 characters. Note that
5f892713c3 2021-03-03 trnsz@pobox.c: % turning the fancy switch off does not
5f892713c3 2021-03-03 trnsz@pobox.c: % affect the linelength so you may need to
5f892713c3 2021-03-03 trnsz@pobox.c: % set the linelength to an appropriate value
5f892713c3 2021-03-03 trnsz@pobox.c: % after using fancy output. The linelength
5f892713c3 2021-03-03 trnsz@pobox.c: % is reset when a new CAS session is
5f892713c3 2021-03-03 trnsz@pobox.c: % initiated (e.g. by using either the "bye"
5f892713c3 2021-03-03 trnsz@pobox.c: % or "quit" command).
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: %%%%%%%%%%%%%%%%%%%%%%
5f892713c3 2021-03-03 trnsz@pobox.c: % KEYBOARD USAGE
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % By default, iCAS uses the system keyboard.
5f892713c3 2021-03-03 trnsz@pobox.c: % A user configurable macro keyboard and a
5f892713c3 2021-03-03 trnsz@pobox.c: % numerical keyboard are also optionally
5f892713c3 2021-03-03 trnsz@pobox.c: % available. The enabled keyboards and the
5f892713c3 2021-03-03 trnsz@pobox.c: % default keyboard can be configured in the
5f892713c3 2021-03-03 trnsz@pobox.c: % app Settings. The app Settings can be
5f892713c3 2021-03-03 trnsz@pobox.c: % accessed either through the global Settings
5f892713c3 2021-03-03 trnsz@pobox.c: % app or by tapping the Settings button on
5f892713c3 2021-03-03 trnsz@pobox.c: % the top right corner of the screen.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % To switch between the enabled keyboards,
5f892713c3 2021-03-03 trnsz@pobox.c: % use a horizontal swipe gesture in the text
5f892713c3 2021-03-03 trnsz@pobox.c: % area when a keyboard is active.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % To dismiss the keyboard, tap the center of
5f892713c3 2021-03-03 trnsz@pobox.c: % the top bar where "Welcome" is currently
5f892713c3 2021-03-03 trnsz@pobox.c: % displayed) or tap the "dismiss" keyboard
5f892713c3 2021-03-03 trnsz@pobox.c: % button above the keyboard if the "Arrow
5f892713c3 2021-03-03 trnsz@pobox.c: % Keys" setting is enabled. This restores
5f892713c3 2021-03-03 trnsz@pobox.c: % access to the toolbar butons.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % By default, tapping a button other than
5f892713c3 2021-03-03 trnsz@pobox.c: % the "CLEAR" or "BATCH" buttons on the
5f892713c3 2021-03-03 trnsz@pobox.c: % macro keyboard causes the active keyboard
5f892713c3 2021-03-03 trnsz@pobox.c: % to automatically switch to the system
5f892713c3 2021-03-03 trnsz@pobox.c: % keyboard to allow entry of variables,
5f892713c3 2021-03-03 trnsz@pobox.c: % parameters, arguments, etc. This behavior
5f892713c3 2021-03-03 trnsz@pobox.c: % can be enabled/disabled using the "Auto
5f892713c3 2021-03-03 trnsz@pobox.c: % Hide Macros" setting.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % Tap the clear line below to active the
5f892713c3 2021-03-03 trnsz@pobox.c: % keyboard and swipe from right to left to
5f892713c3 2021-03-03 trnsz@pobox.c: % reveal the macro keyboard. Now tap the
5f892713c3 2021-03-03 trnsz@pobox.c: % "integral" button.
5f892713c3 2021-03-03 trnsz@pobox.c:
5f892713c3 2021-03-03 trnsz@pobox.c:
5f892713c3 2021-03-03 trnsz@pobox.c:
5f892713c3 2021-03-03 trnsz@pobox.c: % Now double tap "function" and replace it
5f892713c3 2021-03-03 trnsz@pobox.c: % with some function of x, say x, to keep it
5f892713c3 2021-03-03 trnsz@pobox.c: % quick and simple. Then execute the line.
5f892713c3 2021-03-03 trnsz@pobox.c: % Unless you've disabled fancy output, iCAS
5f892713c3 2021-03-03 trnsz@pobox.c: % will have output a pseudo-LaTeX output
5f892713c3 2021-03-03 trnsz@pobox.c: % that you can view by tapping the "TeX"
5f892713c3 2021-03-03 trnsz@pobox.c: % button at the top right. Go ahead and tap it
5f892713c3 2021-03-03 trnsz@pobox.c: % to see the output in the LaTeX viewer.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % Tapping return on the system keyboard
5f892713c3 2021-03-03 trnsz@pobox.c: % can be configured to automatically switch
5f892713c3 2021-03-03 trnsz@pobox.c: % to the macro keyboard to enable the entry
5f892713c3 2021-03-03 trnsz@pobox.c: % of other CAS commands. This is controlled
5f892713c3 2021-03-03 trnsz@pobox.c: % by the "Return Shows Macros" setting.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % To edit the contents of a macro button, tap
5f892713c3 2021-03-03 trnsz@pobox.c: % and hold down the button for 1 second or
5f892713c3 2021-03-03 trnsz@pobox.c: % longer.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % Instances of \n in macros get automatically
5f892713c3 2021-03-03 trnsz@pobox.c: % converted into new lines. This makes it
5f892713c3 2021-03-03 trnsz@pobox.c: % possible to create macros with text
5f892713c3 2021-03-03 trnsz@pobox.c: % spanning multiple lines.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % Assigning \r to a macro button turns that
5f892713c3 2021-03-03 trnsz@pobox.c: % button into a silent return key. That is,
5f892713c3 2021-03-03 trnsz@pobox.c: % it inserts a new line character without
5f892713c3 2021-03-03 trnsz@pobox.c: % processing the contents of the line.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % Assigning \b to a macro button turns that
5f892713c3 2021-03-03 trnsz@pobox.c: % button into a backspace/delete key.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % Assigning \c to a macro button turns that
5f892713c3 2021-03-03 trnsz@pobox.c: % button into a clear key.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % Assigning \cb to a macro button turns that
5f892713c3 2021-03-03 trnsz@pobox.c: % button into a clear batch output key. The
5f892713c3 2021-03-03 trnsz@pobox.c: % macro has no effect if there is no batch
5f892713c3 2021-03-03 trnsz@pobox.c: % output.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % The cursor placement within a macro can be
5f892713c3 2021-03-03 trnsz@pobox.c: % optionally specified by including \^ in
5f892713c3 2021-03-03 trnsz@pobox.c: % the macro where the cursor should be after
5f892713c3 2021-03-03 trnsz@pobox.c: % the macro is inserted. For example, the
5f892713c3 2021-03-03 trnsz@pobox.c: % macro “(\^)” will cause the cursor to be
5f892713c3 2021-03-03 trnsz@pobox.c: % placed between the two parentheses.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % The macro buttons can be optionally
5f892713c3 2021-03-03 trnsz@pobox.c: % labelled by including the desired label
5f892713c3 2021-03-03 trnsz@pobox.c: % surrounded by the # character in the macro
5f892713c3 2021-03-03 trnsz@pobox.c: % text. For example, if a macro contains
5f892713c3 2021-03-03 trnsz@pobox.c: % #LABEL# in its definition, the button will
5f892713c3 2021-03-03 trnsz@pobox.c: % display LABEL in a larger font instead of
5f892713c3 2021-03-03 trnsz@pobox.c: % the actual contents of the macro.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % The following labels (in uppercase) are
5f892713c3 2021-03-03 trnsz@pobox.c: % automatically displayed with the
5f892713c3 2021-03-03 trnsz@pobox.c: % mathematical symbol for the corresponding
5f892713c3 2021-03-03 trnsz@pobox.c: % CAS operator/constant: DF, E, I,
5f892713c3 2021-03-03 trnsz@pobox.c: % INFINITY, INT, PI, PROD, and SUM.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % The default integral, derivative, pi, and
5f892713c3 2021-03-03 trnsz@pobox.c: % infinity buttons are examples that utilize
5f892713c3 2021-03-03 trnsz@pobox.c: % these features.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: %%%%%%%%%%%%%%%%%%%%%%
5f892713c3 2021-03-03 trnsz@pobox.c: % PLOTTING
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % iCAS includes a full implementation of
5f892713c3 2021-03-03 trnsz@pobox.c: % gnuplot that can be accessed in CAS mode
5f892713c3 2021-03-03 trnsz@pobox.c: % using the gnuplot package or directly in
5f892713c3 2021-03-03 trnsz@pobox.c: % plot mode (more on modes later). By
5f892713c3 2021-03-03 trnsz@pobox.c: % default, iCAS loads the gnuplot package so
5f892713c3 2021-03-03 trnsz@pobox.c: % unless you changed the "Always Load
5f892713c3 2021-03-03 trnsz@pobox.c: % gnuplot" setting, it should already be
5f892713c3 2021-03-03 trnsz@pobox.c: % loaded.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % By default, iCAS automatically shows
5f892713c3 2021-03-03 trnsz@pobox.c: % newly generated or updated plots. This
5f892713c3 2021-03-03 trnsz@pobox.c: % behavior can be disabled in the global
5f892713c3 2021-03-03 trnsz@pobox.c: % settings.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % Plots can be magnified using the standard
5f892713c3 2021-03-03 trnsz@pobox.c: % pinch gestures. iCAS supports landscape
5f892713c3 2021-03-03 trnsz@pobox.c: % orientations in all its views so plots can be
5f892713c3 2021-03-03 trnsz@pobox.c: % viewed in either portrait or landscape
5f892713c3 2021-03-03 trnsz@pobox.c: % orientations. Execute the line below to
5f892713c3 2021-03-03 trnsz@pobox.c: % see plotting in action and use the pinch
5f892713c3 2021-03-03 trnsz@pobox.c: % gesture to zoom in/out and swipe gestures
5f892713c3 2021-03-03 trnsz@pobox.c: % to pan around the plot while zoomed in.
5f892713c3 2021-03-03 trnsz@pobox.c:
5f892713c3 2021-03-03 trnsz@pobox.c: plot(sin(x));
5f892713c3 2021-03-03 trnsz@pobox.c:
5f892713c3 2021-03-03 trnsz@pobox.c: % Unless specified, iCAS uses the title "iCAS
5f892713c3 2021-03-03 trnsz@pobox.c: % Plot" and the file name "CASPlot" for plot
5f892713c3 2021-03-03 trnsz@pobox.c: % files. The default plot title can be changed
5f892713c3 2021-03-03 trnsz@pobox.c: % in the app Settings and can also be set
5f892713c3 2021-03-03 trnsz@pobox.c: % on a per plot basis. Execute the below line
5f892713c3 2021-03-03 trnsz@pobox.c: % to see an example.
5f892713c3 2021-03-03 trnsz@pobox.c:
5f892713c3 2021-03-03 trnsz@pobox.c: plot(cos(x), title="cos(x)", output="cos(x)");
5f892713c3 2021-03-03 trnsz@pobox.c:
5f892713c3 2021-03-03 trnsz@pobox.c: % Plot files can be accessed by tapping the
5f892713c3 2021-03-03 trnsz@pobox.c: % "folder" button on the right side of the
5f892713c3 2021-03-03 trnsz@pobox.c: % bottom toolbar. Go ahead and dismiss the
5f892713c3 2021-03-03 trnsz@pobox.c: % keyboard (tap "Welcome" above) and tap
5f892713c3 2021-03-03 trnsz@pobox.c: % the button now.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % The files organizer picker has four wheels.
5f892713c3 2021-03-03 trnsz@pobox.c: % One for text files such as this one, one for
5f892713c3 2021-03-03 trnsz@pobox.c: % plot files, one for REDUCE inout files, and
5f892713c3 2021-03-03 trnsz@pobox.c: % one for macro keyboard files. Aim the left
5f892713c3 2021-03-03 trnsz@pobox.c: % picker wheel to view the corresponding
5f892713c3 2021-03-03 trnsz@pobox.c: % files. Files can be deleted, emailed, or
5f892713c3 2021-03-03 trnsz@pobox.c: % viewed/selected with the buttons above the
5f892713c3 2021-03-03 trnsz@pobox.c: % picker wheels.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % The displayed contents can be emailed,
5f892713c3 2021-03-03 trnsz@pobox.c: % copied, or printed by tapping the "send"
5f892713c3 2021-03-03 trnsz@pobox.c: % button button on the right side of the bottom
5f892713c3 2021-03-03 trnsz@pobox.c: % toolbar. Text files are emailed using the
5f892713c3 2021-03-03 trnsz@pobox.c: % active font style. The ont style, font size,
5f892713c3 2021-03-03 trnsz@pobox.c: % and colors can be configured using the styles
5f892713c3 2021-03-03 trnsz@pobox.c: % panel revealed by tapping the "styles" button
5f892713c3 2021-03-03 trnsz@pobox.c: % on the left of the bottom toolbar. The
5f892713c3 2021-03-03 trnsz@pobox.c: % available font styles are "Helvetica",
5f892713c3 2021-03-03 trnsz@pobox.c: % "Times", and "Courier". Although not the
5f892713c3 2021-03-03 trnsz@pobox.c: % prettiest, Courier can be optimal as it is
5f892713c3 2021-03-03 trnsz@pobox.c: % the closest to a monospace font on iOS
5f892713c3 2021-03-03 trnsz@pobox.c: % devices.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % Plots can be emailed in SVG format which
5f892713c3 2021-03-03 trnsz@pobox.c: % is a resolution independent format
5f892713c3 2021-03-03 trnsz@pobox.c: % supported by major browsers including
5f892713c3 2021-03-03 trnsz@pobox.c: % Safari and FireFox.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: %%%%%%%%%%%%%%%%%%%%%%
5f892713c3 2021-03-03 trnsz@pobox.c: % OPERATION MODES
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % iCAS supports three operation modes.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % • CAS Mode
5f892713c3 2021-03-03 trnsz@pobox.c: % • Plot Mode
5f892713c3 2021-03-03 trnsz@pobox.c: % • Text Editor Mode
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % By default, the application's color theme
5f892713c3 2021-03-03 trnsz@pobox.c: % changes to indicate the active mode. This
5f892713c3 2021-03-03 trnsz@pobox.c: % color feedback behavior can be disabled in
5f892713c3 2021-03-03 trnsz@pobox.c: % the app Settings, if desired.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % In CAS mode (the current mode unless
5f892713c3 2021-03-03 trnsz@pobox.c: % you've changed the mode with the mode
5f892713c3 2021-03-03 trnsz@pobox.c: % controls switch in the middle of the
5f892713c3 2021-03-03 trnsz@pobox.c: % toolbar), iCAS behaves as a terminal
5f892713c3 2021-03-03 trnsz@pobox.c: % interface to the CAS engine.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % In Plot mode, iCAS behaves as a direct
5f892713c3 2021-03-03 trnsz@pobox.c: % terminal interface to the gnuplot engine.
5f892713c3 2021-03-03 trnsz@pobox.c: % Go ahead and dismiss the keyboard and tap
5f892713c3 2021-03-03 trnsz@pobox.c: % the "plot" mode button (the button with a
5f892713c3 2021-03-03 trnsz@pobox.c: % graph) to switch to Plot mode. Then
5f892713c3 2021-03-03 trnsz@pobox.c: % execute each of the following lines in
5f892713c3 2021-03-03 trnsz@pobox.c: % sequence. This is an example straight from
5f892713c3 2021-03-03 trnsz@pobox.c: % the gnuplot demonstration samples web
5f892713c3 2021-03-03 trnsz@pobox.c: % page.
5f892713c3 2021-03-03 trnsz@pobox.c:
5f892713c3 2021-03-03 trnsz@pobox.c: set output "3D Log"
5f892713c3 2021-03-03 trnsz@pobox.c: set title "3D Log"
5f892713c3 2021-03-03 trnsz@pobox.c: set samples 30; set isosamples 30
5f892713c3 2021-03-03 trnsz@pobox.c: set hidden3d
5f892713c3 2021-03-03 trnsz@pobox.c: set pm3d
5f892713c3 2021-03-03 trnsz@pobox.c: set surface
5f892713c3 2021-03-03 trnsz@pobox.c: set view 50,220
5f892713c3 2021-03-03 trnsz@pobox.c: set xrange [-2:2]
5f892713c3 2021-03-03 trnsz@pobox.c: set yrange [-2:2]
5f892713c3 2021-03-03 trnsz@pobox.c: splot log(x*x*y*y)
5f892713c3 2021-03-03 trnsz@pobox.c:
5f892713c3 2021-03-03 trnsz@pobox.c: % As you can see, iCAS accepts gnuplot
5f892713c3 2021-03-03 trnsz@pobox.c: % commands directly.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % In Text Editor mode, iCAS behaves as a
5f892713c3 2021-03-03 trnsz@pobox.c: % plain text editor. Pressing return does not
5f892713c3 2021-03-03 trnsz@pobox.c: % invoke either CAS or plot operations. This
5f892713c3 2021-03-03 trnsz@pobox.c: % mode is useful for general-purpose text
5f892713c3 2021-03-03 trnsz@pobox.c: % editing, to create input files for batch
5f892713c3 2021-03-03 trnsz@pobox.c: % execution (described below), to
5f892713c3 2021-03-03 trnsz@pobox.c: % create/preview LaTeX documents, etc.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % The active file is automatically saved when
5f892713c3 2021-03-03 trnsz@pobox.c: % the application is quit/placed in the
5f892713c3 2021-03-03 trnsz@pobox.c: % background or when a new file is opened.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % There may be times when you need to abort
5f892713c3 2021-03-03 trnsz@pobox.c: % the active CAS session. To abort a CAS
5f892713c3 2021-03-03 trnsz@pobox.c: % session that is idle, simply use the
5f892713c3 2021-03-03 trnsz@pobox.c: % REDUCE "bye" or "quit" command. A
5f892713c3 2021-03-03 trnsz@pobox.c: % new session will be automatically restarted.
5f892713c3 2021-03-03 trnsz@pobox.c: % To abort a CAS session that is busy, tap
5f892713c3 2021-03-03 trnsz@pobox.c: % the "Abort" button that replaces the
5f892713c3 2021-03-03 trnsz@pobox.c: % "Settings" button while iCAS is busy. Set
5f892713c3 2021-03-03 trnsz@pobox.c: % the mode to CAS mode using the mode
5f892713c3 2021-03-03 trnsz@pobox.c: % buttons and go ahead and abort the CAS
5f892713c3 2021-03-03 trnsz@pobox.c: % session using the following example that
5f892713c3 2021-03-03 trnsz@pobox.c: % intentionally invokes a very long for-loop.
5f892713c3 2021-03-03 trnsz@pobox.c:
5f892713c3 2021-03-03 trnsz@pobox.c: for i:=0:10000000 do j:=i;
5f892713c3 2021-03-03 trnsz@pobox.c:
5f892713c3 2021-03-03 trnsz@pobox.c: %%%%%%%%%%%%%%%%%%%%%%
5f892713c3 2021-03-03 trnsz@pobox.c: % BATCH OPERATION
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % In addition to the interactive operation
5f892713c3 2021-03-03 trnsz@pobox.c: % that we've just used, iCAS supports batch
5f892713c3 2021-03-03 trnsz@pobox.c: % execution of entire file contents. That
5f892713c3 2021-03-03 trnsz@pobox.c: % is, iCAS can process the entire contents
5f892713c3 2021-03-03 trnsz@pobox.c: % of the active file either in CAS mode or
5f892713c3 2021-03-03 trnsz@pobox.c: % Plot mode. To do so, use the special
5f892713c3 2021-03-03 trnsz@pobox.c: % "BATCH" macro keyboard button. Unlike
5f892713c3 2021-03-03 trnsz@pobox.c: % interactive results which are output at the
5f892713c3 2021-03-03 trnsz@pobox.c: % current cursor location, CAS mode batch
5f892713c3 2021-03-03 trnsz@pobox.c: % execution results are appended to the end
5f892713c3 2021-03-03 trnsz@pobox.c: % of the file surrounded by "%%% Begin Batch
5f892713c3 2021-03-03 trnsz@pobox.c: % Results" and "%%% End Batch Results" so
5f892713c3 2021-03-03 trnsz@pobox.c: % they can be easily located with a quick
5f892713c3 2021-03-03 trnsz@pobox.c: % search.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % Plot mode results are of course the creation
5f892713c3 2021-03-03 trnsz@pobox.c: % of plot files. Note that plot files are
5f892713c3 2021-03-03 trnsz@pobox.c: % not automatically shown when they are
5f892713c3 2021-03-03 trnsz@pobox.c: % generated in batch mode. To view batch
5f892713c3 2021-03-03 trnsz@pobox.c: % generated plot files, please use the files
5f892713c3 2021-03-03 trnsz@pobox.c: % picker.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % Now, this file contains interactive output
5f892713c3 2021-03-03 trnsz@pobox.c: % from the examples that we've run so if you
5f892713c3 2021-03-03 trnsz@pobox.c: % process this file in batch mode, it will
5f892713c3 2021-03-03 trnsz@pobox.c: % result in errors. Therefore, please try
5f892713c3 2021-03-03 trnsz@pobox.c: % batch execution using one of the example
5f892713c3 2021-03-03 trnsz@pobox.c: % files.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: %%%%%%%%%%%%%%%%%%%%%%
5f892713c3 2021-03-03 trnsz@pobox.c: % FOR MORE INFORMATION
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % We hope that you found this tutorial
5f892713c3 2021-03-03 trnsz@pobox.c: % helpful. You'll find more examples for
5f892713c3 2021-03-03 trnsz@pobox.c: % various areas in the files picker. You
5f892713c3 2021-03-03 trnsz@pobox.c: % will also find more information in the
5f892713c3 2021-03-03 trnsz@pobox.c: % iCAS FAQ at the following URL.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % http://alsoftiphone.com/iCAS/faq
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % Last but not least, if you have any questions
5f892713c3 2021-03-03 trnsz@pobox.c: % or feedback, please don't hesitate to contact
5f892713c3 2021-03-03 trnsz@pobox.c: % us at support@alsoftiphone.com. You can
5f892713c3 2021-03-03 trnsz@pobox.c: % quickly do so by tapping the "Contact
5f892713c3 2021-03-03 trnsz@pobox.c: % Support"button at the bottom of the app
5f892713c3 2021-03-03 trnsz@pobox.c: % Settings.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % We hope that you will find iCAS a useful
5f892713c3 2021-03-03 trnsz@pobox.c: % companion for your computation needs.
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: % Best Regards,
5f892713c3 2021-03-03 trnsz@pobox.c: % AL Software
5f892713c3 2021-03-03 trnsz@pobox.c: %
5f892713c3 2021-03-03 trnsz@pobox.c: %%%%%%%%%%%%%%%%%%%%%%