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

misc/math/pari-1.38.3.lha

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

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.tar.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/pari-1.38.3.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
drwxrwxr-x 20027/206         0       0 ****** -lhd- 0000 Dec  3  1993 doc/
-rw-r--r-- 20027/206       197     439  44.9% -lh5- 9d35 Jul  4  1993 doc/Makefile
-rw-r--r-- 20027/206      4883   11937  40.9% -lh5- 0fc5 Nov  2  1993 doc/appa.tex
-rw-r--r-- 20027/206       397     683  58.1% -lh5- 10e6 Feb  7  1993 doc/appb.tex
-rw-r--r-- 20027/206      1028    2090  49.2% -lh5- a89d Feb  7  1993 doc/appc.tex
-rw-r--r-- 20027/206       997    2155  46.3% -lh5- e92d Feb  7  1993 doc/appd.tex
-rw-r--r-- 20027/206       194     353  55.0% -lh5- dc83 Dec  3  1993 doc/titlepage.tex
-rw-r--r-- 20027/206     41647  109788  37.9% -lh5- a619 Dec  3  1993 doc/tutorial.tex
-rw-r--r-- 20027/206      1585    4307  36.8% -lh5- d82c Dec  3  1993 doc/users.tex
-rw-r--r-- 20027/206      7135   17664  40.4% -lh5- de68 Aug  8  1993 doc/usersch1.tex
-rw-r--r-- 20027/206      9193   24576  37.4% -lh5- 59cf Oct 25  1993 doc/usersch2.tex
-rw-r--r-- 20027/206     56863  186465  30.5% -lh5- cb39 Nov 26  1993 doc/usersch3.tex
-rw-r--r-- 20027/206     21358   57901  36.9% -lh5- a799 Nov  5  1993 doc/usersch4.tex
-rw-r--r-- 20027/206      8153   31799  25.6% -lh5- 7eee Feb  7  1993 doc/usersch5.tex
drwxrwxr-x 20027/206         0       0 ****** -lhd- 0000 Dec  3  1993 examples/
-rw-rw-r-- 20027/206      1602    3319  48.3% -lh5- 16e5 Nov  2  1993 examples/EXPLAIN
-rw-r--r-- 20027/206       136     182  74.7% -lh5- 1430 Nov  4  1993 examples/Makefile
-rw-r--r-- 20027/206       129     151  85.4% -lh5- 245b Nov  5  1993 examples/Makesimple
-rw-r--r-- 20027/206        84     100  84.0% -lh5- 57f0 Aug  5  1993 examples/bench.gp
-rw-r--r-- 20027/206      1108    2169  51.1% -lh5- 4e8d Nov  2  1993 examples/clareg.gp
-rw-r--r-- 20027/206        52      52 100.0% -lh0- 3400 Aug  5  1993 examples/lucas.gp
-rw-r--r-- 20027/206       805    1483  54.3% -lh5- 669c May  3  1993 examples/mattrans.c
-rw-r--r-- 20027/206       149     260  57.3% -lh5- 5782 Aug  5  1993 examples/rho.gp
-rw-r--r-- 20027/206       394     709  55.6% -lh5- 4186 Feb  7  1993 examples/squfof.gp
-rw-rw-r-- 20027/206       856    1745  49.1% -lh5- bf3b Dec  3  1993 examples/tutnf.gp
-rw-rw-r-- 20027/206      3049    7956  38.3% -lh5- b8c0 Dec  3  1993 examples/tutnfout
drwxrwxr-x 20027/206         0       0 ****** -lhd- 0000 Dec  3  1993 src/
-rw-rw-r-- 20027/206       668    1186  56.3% -lh5- fb32 Nov  2  1993 src/Buglist
-rw-rw-r-- 20027/206      2399    5345  44.9% -lh5- cc49 Nov 28  1993 src/Changes
-rw-rw-r-- 20027/206     19307   47459  40.7% -lh5- 7719 Jul 18  1993 src/Changes1.31-1.35
-rw-rw-r-- 20027/206     15641   41438  37.7% -lh5- 14ba Sep 18  1993 src/Changes1.35-1.38
-rw-rw-r-- 20027/206      4400   13637  32.3% -lh5- 41bc Dec  3  1993 src/FILES
-rw-rw-r-- 20027/206      4646   11069  42.0% -lh5- 3127 Nov  2  1993 src/INSTALL
-rwxr-xr-x 20027/206      2625    8208  32.0% -lh5- 01dd Nov 25  1993 src/Makemakefile
-rw-rw-r-- 20027/206      4518   10749  42.0% -lh5- 620c Jul 18  1993 src/Newin1.37
-rw-rw-r-- 20027/206      3154    7479  42.2% -lh5- 427d Sep  7  1993 src/Newin1.38
-rw-rw-r-- 20027/206      1495    3265  45.8% -lh5- b44c Nov 29  1993 src/Newin1.39
-rw-rw-r-- 20027/206      1616    3086  52.4% -lh5- a1e5 Nov  2  1993 src/README
-rw-rw-r-- 20027/206       319     534  59.7% -lh5- 50de Nov  2  1993 src/TODO
-rw-rw-r-- 20027/206     10432   50860  20.5% -lh5- f98c Nov 20  1993 src/alglin1.c
-rw-rw-r-- 20027/206      8149   36625  22.2% -lh5- a98e Nov 20  1993 src/alglin2.c
-rw-rw-r-- 20027/206     11140   48731  22.9% -lh5- af42 Nov 26  1993 src/anal.c
-rw-rw-r-- 20027/206     12108   49560  24.4% -lh5- 7b24 Nov 27  1993 src/arith1.c
-rw-rw-r-- 20027/206      8012   35536  22.5% -lh5- 4a50 Nov 11  1993 src/arith2.c
-rw-rw-r-- 20027/206     12575   51522  24.4% -lh5- 9faf Nov 27  1993 src/base1.c
-rw-rw-r-- 20027/206     17536   70244  25.0% -lh5- 6a31 Dec  2  1993 src/base2.c
-rw-rw-r-- 20027/206     14319   70962  20.2% -lh5- 325a Nov 12  1993 src/bibli1.c
-rw-rw-r-- 20027/206     10511   51129  20.6% -lh5- 44b5 Aug 25  1993 src/bibli2.c
-rw-rw-r-- 20027/206     11862   50995  23.3% -lh5- 9444 Nov 27  1993 src/buch1.c
-rw-rw-r-- 20027/206     13191   49167  26.8% -lh5- e189 Dec  2  1993 src/buch2.c
-rw-rw-r-- 20027/206       225    1001  22.5% -lh5- 05e0 Nov 26  1993 src/dummy.c
-rw-r--r-- 20027/206       122     274  44.5% -lh5- 4ba0 Dec  2  1993 src/dummybuch.c
-rw-rw-r-- 20027/206     18663   64183  29.1% -lh5- a582 Nov 27  1993 src/elliptic.c
-rw-rw-r-- 20027/206      2011    5573  36.1% -lh5- 162c Aug  4  1993 src/erreurs.h
-rw-rw-r-- 20027/206      5206   20239  25.7% -lh5- 9c43 Nov 27  1993 src/errmessages.c
-rw-rw-r-- 20027/206      8067   39677  20.3% -lh5- 73e3 Dec  3  1993 src/es.c
-rw-rw-r-- 20027/206      9221   48191  19.1% -lh5- 8003 Dec  1  1993 src/gen1.c
-rw-rw-r-- 20027/206     10648   56205  18.9% -lh5- 9300 Dec  2  1993 src/gen2.c
-rw-rw-r-- 20027/206     10813   54397  19.9% -lh5- 8639 Dec  1  1993 src/gen3.c
-rw-rw-r-- 20027/206       974    5040  19.3% -lh5- e2e1 Aug 25  1993 src/gen68k.h
-rw-rw-r-- 20027/206       372    1467  25.4% -lh5- ccd6 Nov 28  1993 src/gen68kplus.h
-rw-rw-r-- 20027/206      9307   37638  24.7% -lh5- 4e0f Dec  1  1993 src/gencom.h
-rw-rw-r-- 20027/206       143     434  32.9% -lh5- 1a5d Nov 28  1993 src/genpari68k.h
-rw-rw-r-- 20027/206       148     462  32.0% -lh5- 9ce0 Aug  4  1993 src/genpariother.h
-rw-rw-r-- 20027/206      1061    5144  20.6% -lh5- 41cc Sep 16  1993 src/genport.h
-rw-r--r-- 20027/206       558     942  59.2% -lh5- 1c1c Jul 18  1993 src/gp.1
-rw-rw-r-- 20027/206      4831   16271  29.7% -lh5- cdbd Nov 23  1993 src/gp.c
-rw-rw-r-- 20027/206      5279   18010  29.3% -lh5- a2c6 Nov 23  1993 src/gpreadline.c
-rw-rw-r-- 20027/206     11255   35879  31.4% -lh5- 168f Nov 26  1993 src/helpmessages.c
-rw-rw-r-- 20027/206       915    3635  25.2% -lh5- fa64 Aug  4  1993 src/hppa.s
-rw-r--r-- 20027/206      1315    6651  19.8% -lh5- 1ec8 Nov 15  1993 src/i386.c
-rw-rw-r-- 20027/206      4155   13444  30.9% -lh5- 17a3 Nov  4  1993 src/init.c
-rw-rw-r-- 20027/206     35694  163665  21.8% -lh5- e152 Nov 28  1993 src/mp.ami
-rw-rw-r-- 20027/206      9454   38226  24.7% -lh5- b6d8 Dec  1  1993 src/mp.c
-rw-rw-r-- 20027/206     23306  124388  18.7% -lh5- c5cf Nov 28  1993 src/mp.news
-rw-rw-r-- 20027/206     39653  249494  15.9% -lh5- 0587 Nov 28  1993 src/mp.s
-rw-rw-r-- 20027/206       591    2406  24.6% -lh5- d52f Aug 25  1993 src/mpansi.h
-rw-rw-r-- 20027/206      7871   29627  26.6% -lh5- 54d1 Aug 26  1993 src/mpin.c
-rw-rw-r-- 20027/206      2159    9557  22.6% -lh5- f501 Aug 26  1993 src/mpin.h
-rw-r--r-- 20027/206      7841   25732  30.5% -lh5- 1764 Jul 18  1993 src/pari.el
-rw-r--r-- 20027/206      7580   20582  36.8% -lh5- 6879 Jul 18  1993 src/pari.el-changes
-rw-rw-r-- 20027/206      6282   16604  37.8% -lh5- c5a4 Jul 18  1993 src/pari.elc
-rw-rw-r-- 20027/206      1621    3710  43.7% -lh5- d540 Nov  6  1993 src/pari.menu
-rw-r--r-- 20027/206      3701    9737  38.0% -lh5- abc6 Jul 18  1993 src/pari.txt
-rw-rw-r-- 20027/206      3345   16210  20.6% -lh5- 3201 Nov 27  1993 src/plotX.c
-rw-rw-r-- 20027/206       122     274  44.5% -lh5- 4ba0 Aug 25  1993 src/plotnull.c
-rw-rw-r-- 20027/206      3020   12724  23.7% -lh5- 370d Aug  4  1993 src/plotsun.c
-rw-rw-r-- 20027/206     16604   72457  22.9% -lh5- 14c7 Nov 22  1993 src/polarit1.c
-rw-rw-r-- 20027/206     10726   42898  25.0% -lh5- ff44 Oct 29  1993 src/polarit2.c
-rw-rw-r-- 20027/206      1898    9975  19.0% -lh5- 97ef Aug  4  1993 src/sparcv7.s
-rw-rw-r-- 20027/206      1890    7253  26.1% -lh5- 3956 Jul 18  1993 src/sparcv8.s
-rw-rw-r-- 20027/206       655    2837  23.1% -lh5- 644e Jul 24  1993 src/sparcv8micro.s
-rw-rw-r-- 20027/206      1890    7253  26.1% -lh5- 3956 Jul 18  1993 src/sparcv8super.s
-rw-rw-r-- 20027/206      4607   10847  42.5% -lh5- 2c1e Nov 26  1993 src/testin
-rw-rw-r-- 20027/206     22241   59723  37.2% -lh5- e173 Dec  2  1993 src/testout
-rw-rw-r-- 20027/206       285     739  38.6% -lh5- 33d5 Jul 18  1993 src/testplotin
-rw-rw-r-- 20027/206      7665   34157  22.4% -lh5- a375 Nov 10  1993 src/trans1.c
-rw-rw-r-- 20027/206      7194   44775  16.1% -lh5- 1cb9 Aug 26  1993 src/trans2.c
-rw-rw-r-- 20027/206      8059   32671  24.7% -lh5- a97f Nov 23  1993 src/trans3.c
-rw-r--r-- 20027/206       116     163  71.2% -lh5- d67b Nov 15  1993 src/version386.c
-rw-rw-r-- 20027/206      1828    5058  36.1% -lh5- d758 Oct 25  1993 src/version68k.c
-rw-rw-r-- 20027/206       173     328  52.7% -lh5- f6a6 Oct 25  1993 src/versionhp.c
-rw-rw-r-- 20027/206      1149    3942  29.1% -lh5- d33e Oct 25  1993 src/versionport.c
-rw-rw-r-- 20027/206       178     332  53.6% -lh5- ab5d Oct 25  1993 src/versionsparcv7.c
-rw-rw-r-- 20027/206       177     332  53.3% -lh5- f238 Oct 25  1993 src/versionsparcv8.c
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total       105 files  697481 2680502  26.0%            Jun  8  1995
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>