AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

misc/math/gpamiga-1.38.3.lha

Mirror:Random
Showing: generic icon
No screenshot available
Short:Linear algebra and number theory. Bin.
Author: pari at ceremab.u-bordeaux.fr nisse at lysator.liu.se
Uploader:nisse lysator liu se
Type:misc/math
Architecture:m68k-amigaos
Date:1995-06-08
Download:misc/math/gpamiga-1.38.3.lha - View contents
Readme:misc/math/gpamiga-1.38.3.readme
Downloads:550

About PARI             (14 dec 1993)
----------

PARI is the name of a sophisticated and free math package. GP is a
calculator that offers all the features of PARI and some more. PARI
uses *infinite* precision rational numbers and *arbitrary* precision
floating point numbers. 

You can use complex numbers, vectors, matrices, polynomials, rational
functions and taylor expansions. PARI also handles integers mod n,
finite fields, algebraic numbers and p-adic numbers. PARI includes
standard numerical methods and the GP calculator also includes
hi-resolution plotting.

PARI is written by four professional number theorists, C. Batut, 
D. Bernardi, H. Cohen and M. Olivier. The latter two are Professors of
Mathematics.

-------

This amiga distribution contains the GP calculator compiled for
different processors, an emacs mode for running GP, partial
documentation, and all the amiga specific files I used to compile GP.
The amiga hi-resolution plotting functions are written by Jerry
Tunnell, who kindly let me use and distribute them.

If you want full source and documentation, you will have to get the
source distribution. It *should* be available where you found this
package, as file pari-1.38.3.gz or something similar (*Please* keep
this archive and the source archive together. If you like GP, you will
probably want the documentation too). If you can't find the source
anywhere else, you can try to ftp to megrez.ceremab.u-bordeaux.fr,
directory pub/pari/unix. This is the main PARI site.


Files
-----
  
amiga/			 Amiga specific files and sources.
	makefile.68000	 Makefiles for different amiga versions.
	makefile.68020 
	makefile.68881
	mpAmiga.s	 Assembler file (gcc syntax) for the 68020 versions.
			 Converted from mp.s with the convert68k.el program in
			 the elisp directory.	
	plotAmiga.c	 Hi-resolution plotting functions, written by J.B. Tunnell.
	version68k.diff  Source diffs to add an Amiga version string.
	versionport.diff

bin/
	gp.68000	 GP binaries for different processors.
	gp.68020
	gp.68881

doc/			 This directory does not contain the complete documentation,
	usersch3.tex	 only one file that is needed by pari.el

elisp/
	convert68k.el	 Elisp program to convert a sun3 style 68k assembler file
			 (read mp.s) into something that amiga gcc can understand.
	pari.el		 An Emacs mode for the GP calculator. Desribed below and
	pari.elc	 in the file pari.txt
	pari.menu	 Used by pari.el.
	pari.txt	 A description of pari-mode

examples/
	EXPLAIN		 Description of the examples.
	Makefile	 Note that you cannot compile the C example
	Makesimple	 without the libpari.a library.
	bench.gp
	clareg.gp
	lucas.gp
	mattrans.c
  	rho.gp
	squfof.gp
  	tutnf.gp
	tutnfout


Starting PARI
-------------

First, you need to install Markus Wild's ixemul.library, if you don't
have it already. Version 39.45 is the most recent non-buggy version I
know of (39.47 seems to be unreliable). This library is available on
Aminet (for example at ftp.luth.se) and is included in the gcc
distribution.

GP (file gp.68020 or whichever version you use) takes three command line
options. The most important is '-s STACKSIZE'. This sets the initial
size of the internal PARI stack (not to be confused with the task
stack). The default value is 4 MB which may be more RAM than you have
available. Try 'gp -s 1000000' or 'gp -s 100000' if GP refuses to
start. The other two flags are '-p PRIMELIMIT' and '-b BUFFERSIZE'.
Default values are 500000 and 30000 respectively.

Talking about the task stack, I don't know exactly how large it must
be. I use a stack of 100000 bytes, and that seems to be enough. To set
the task stack, use the command 'STACK 100000' command from the shell,
not the -s option to GP.

At the pari command prompt (default '?'), \q or CTRL-\ exits GP. You
can type '?' to get some on-line help. Note that running GP inside
emacs gives you better online help.

The GP command interface is quite straight forward if you are used to
MATLAB or similar systems. Note that with GP both vectors and matrices
are typed with with square brackets '[' ']', with comma ',' separating
elements on the same row and semicolon ';' separating rows. For
example, a 2-2 matrix is typed '[1,2 ; 3,4]'.

The emacs mode.  
--------------- 
To use this on the amiga, you must make sure that you have mounted the
FIFO: device, and that the SHELL environment variable is set to some
unix-style shell. I use the shell distributed with gcc, a port of
pdksh (file name gcc/bin/sh). The shell distributed with GNUemacs
might work too, but I haven't tried it. The emacs mode is described in
the file elisp/pari.txt. If you don't wan't to edit the pari.el file,
you should assign PARI: to the directory where you have installed
PARI.

Known bugs
----------
GP does not respond to CTRL-C when run from the shell. However, if you
send the CTRL-C signal from another shell window (with the BREAK
command) or type CTRL-C in GP's emacs buffer, GP is interrupted.

A free() call occasionally failes when using the 68000 or 68020
versions of GP. I have not had this problem with the 68881 version.

I'm tempted to blame both these problems on the ixemul.library, but
I'm not sure what happens.  

For those who are curious about the differences between the three
versions gp.68000, gp.68020 and gp.68881: 

* The first two are compiled with gcc -msoftfloat instead of gcc
-m68881. If a 68881 processor is present, all three version makes use
of it. The performance difference between the gp.68020 and the 68881
version should be rather small on any machine that can run both. I
included the 68881 because it seemes more reliable.

* In the 68020 and 68881 versions, some low level functions are
written in 68020 assembler, while the 68000 version is written
entirely in C and is compiled with gcc -m68000 to make sure that it
contains only 68000 instructions.

------- 
Enjoy GP!

Feel free to send me comments and questions (and even bug reports).
	Niels Möller
	Ställdalsvägen 11
	122 43 Enskede
	SWEDEN
email:	nisse@lysator.liu.se

For questions and bug reports not specific to the amiga version, you
can also write to the authors:
	pari@ceremab.u-bordeaux.fr


Contents of misc/math/gpamiga-1.38.3.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1338    3810  35.1% -lh5- 4aea Dec  7  1993 amiga/makefile.68000
[generic]                 1345    3822  35.2% -lh5- b586 Dec  8  1993 amiga/makefile.68020
[generic]                 1345    3820  35.2% -lh5- 2d38 Dec  8  1993 amiga/makefile.68881
[generic]                41121  252237  16.3% -lh5- 1e3e Dec  6  1993 amiga/mpAmiga.s
[generic]                 4075   18263  22.3% -lh5- 34b9 Nov 10  1993 amiga/plotAmiga.c
[generic]                  246     357  68.9% -lh5- 2094 Dec  8  1993 amiga/version68k.diff
[generic]                  248     360  68.9% -lh5- dcae Dec  8  1993 amiga/versionport.diff
[generic]               347584  741836  46.9% -lh5- bc71 Dec  8  1993 bin/gp.68000
[generic]               332545  664588  50.0% -lh5- 2a65 Dec 10  1993 bin/gp.68020
[generic]               328318  653256  50.3% -lh5- cce0 Dec  6  1993 bin/gp.68881
[generic]                56779  186465  30.5% -lh5- cb39 Nov 25  1993 doc/usersch3.tex
[generic]                 1332    3537  37.7% -lh5- a931 Sep 17  1993 elisp/convert68k.el
[generic]                 7880   25992  30.3% -lh5- a500 Dec  8  1993 elisp/pari.el
[generic]                 6269   16577  37.8% -lh5- 6af8 Dec  8  1993 elisp/pari.elc
[generic]                 1621    3710  43.7% -lh5- d540 Nov  6  1993 elisp/pari.menu
[generic]                 3698    9737  38.0% -lh5- abc6 Jul 18  1993 elisp/pari.txt
[generic]                   84     100  84.0% -lh5- 57f0 Aug  5  1993 examples/bench.gp
[generic]                 1108    2169  51.1% -lh5- 4e8d Nov  1  1993 examples/clareg.gp
[generic]                 1602    3319  48.3% -lh5- 16e5 Nov  1  1993 examples/EXPLAIN
[generic]                   52      52 100.0% -lh0- 3400 Aug  5  1993 examples/lucas.gp
[generic]                  136     182  74.7% -lh5- 1430 Nov  4  1993 examples/Makefile
[generic]                  129     151  85.4% -lh5- 245b Nov  5  1993 examples/Makesimple
[generic]                  805    1483  54.3% -lh5- 669c May  2  1993 examples/mattrans.c
[generic]                  149     260  57.3% -lh5- 5782 Aug  5  1993 examples/rho.gp
[generic]                  394     709  55.6% -lh5- 4186 Feb  7  1993 examples/squfof.gp
[generic]                  856    1745  49.1% -lh5- bf3b Dec  3  1993 examples/tutnf.gp
[generic]                 3048    7956  38.3% -lh5- b8c0 Dec  3  1993 examples/tutnfout
[generic]                 1495    3265  45.8% -lh5- b44c Nov 28  1993 Newin1.39
[generic]                 1615    3086  52.3% -lh5- a1e5 Nov  1  1993 readme
[generic]                 2926    6156  47.5% -lh5- f75f Dec 18  1993 README.amiga
[generic]                  319     534  59.7% -lh5- 50de Nov  1  1993 todo
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        31 files 1150462 2619534  43.9%            Jun  8  1995
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>