



| Figure 8.3 | The toolbar Alg\en\Pari (computer algebra in number theory). |
|
8.3.1 Description of the buttons
- PARI : launches the program PARI for Windows.
- EMACS/ast : launches the Emacs program for Windows from the
directory
ASTEXDIR (necessary to use the button Epari ).
- Epari : launches Pari in a shell of Emacs. Emacs must be already open.
The command sent to the shell is
runprg.bat pari.
- << Doc>> : marker of the group of buttons << Documentation>>. This button
doesn't execute any action, it serves just as visual separator between the
groups of buttons.
- Web site : displays the site of Pari in the default web browser.
- Loc web : displays a local copy of the Pari site in the default web browser.
- Tutorial : displays the tutorial of Pari.
- Manual : displays the User's manual of Pari.
- Refcard : displays a summary of the main commands of Pari.
- Manual html : displays the html version of the Pari User's manual.
- << Tests com>> : marker of the group of buttons << Common tests>>. This
button doesn't execute any action, it serves just as visual separator
between the groups of buttons.
- 1+2 : add 1 and 2 in Pari.
- 2*3 : multiply 2 by 3 in Pari.
- 2^10 : calculate 2 to the power 10 in Pari.
- 1/3+3/4 : add two fractions in Pari.
- 100 ! : calculate the factorial of 100 in Pari.
- Quit : quit the program Pari.
- << Tests spec>> : marker of the group of buttons << Tests specific to the
program>>. This button doesn't execute any action, it serves just as visual
separator between the groups of buttons.
- General help : displays the list of chapters of Pari help (elementary and
transcendental functions, functions for number theory, fields of numbers
and elliptic curves, polynomials and series of powers, vectors, matrices,
sums, products, integrals, graphics, programming).
- ? Polynom. : list of the functions of the class Polynomials in Pari.
- (a+b)^2 : calculate the development of (a + b)2 in Pari.
- factor poly : factorise the polynomial 3x3 - 4x + 1 in Pari.
- roots : calculate the real and complex roots of the polynomial x3 + 1 in
Pari.
- taylor : calculate the Taylor development of sin(x) in Pari.
- integrate : calculate the indefinite integral of
in Pari.
- poly Tcheb. : calculate the Tchebitchev polynomial of order 5.
- ? Speical fns : displays the list of special functions known to Pari.
- ? besselk : displays help on the K-Bessel function of index n.
- besselk(n,x) : calculate the value of the K-Bessel function of index 1 at
point 2.
- << Tests btns>> : marker of the group of buttons << Buttons under test>>.
This button doesn't execute any action, it serves just as visual separator
between the groups of buttons.
- diff : calculate the derivative of sin(x) in the form of a Taylor
development.
- integrate 2 : calculate the indefinite integral of sin(x) in the form of a
Taylor development.
- integrate 3 : calculate the indefinite integral of a rational fraction whose
result can be expressed in terms of log and arc tangent (error
a log/atan
appears in the integration, PARI cannot handle that).
- 1+2 ? : calculate 1+2 with an end of commands different from the one of
the standard button 1+2 . Works in a command window of Win2000, but
not in a shell of Emacs (requires to type on the Enter key after clicking
on the button).
- 1+2 ?? : calculate 1+2 with an end of commands different from the one
of the standard button 1+2 . Works in a command window of Win2000
(but by adding an empty line) and in a shell of Emacs.
- Tutorial 2.0.5 : displays the tutorial of the former version 2.0.5 of Pari
from a table of navigation.
8.3.2 Test of the buttons
The end {ENTER}^c^c works correctly in a shell of Emacs. It also works in a
command window of Win2000, but it produces a beep.
Under Windows 2000, all common and specific tests work.
8.3.3 Starter guide
All test buttons work in a command window, under Windows 2000.
Remarques :
One can scroll the previously typed commands (or the commands entered with the
test buttons) with the help of the arrow keys Up-arrow and Down-arrow.



