词条 | PARI/GP |
释义 |
| name = PARI/GP | logo = PARI-GP logo.svg | screenshot = PARI-GP-Windows-XP.png | screenshot size = 248px | caption = PARI/GP in use on Windows XP | developer = Henri Cohen, Karim Belabas, et al., at the Université Bordeaux 1 | latest release version = 2.11.1 | latest release date = {{Start date and age|2018|12|01|df=yes}} | latest preview version = 2.10.1.beta | latest preview date = {{Start date and age|2018|07|05|df=yes}} | programming language = C | operating_system = Cross-platform | genre = Computer algebra system | license = GNU General Public License | website = {{URL|http://pari.math.u-bordeaux.fr/}} }} PARI/GP is a computer algebra system with the main aim of facilitating number theory computations. Versions 2.1.0 and higher are distributed under the GNU General Public License. It runs on most common operating systems. System overviewThe PARI/GP system is a package that is capable of doing formal computations on recursive types at high speed; it is primarily aimed at number theorists. Its three main strengths are its speed, the possibility of directly using data types that are familiar to mathematicians, and its extensive algebraic number theory module. The PARI/GP system consists of the following standard components:
Also available is gp2c, the GP-to-C compiler, which compiles GP scripts into the C language and transparently loads the resulting functions into gp. The advantage of this is that gp2c-compiled scripts will typically run three to four times faster. gp2c understands almost all of GP. PARI/GP performs arbitrary precision calculations (e.g., the significand can be millions of digits long—and billions of digits on 64-bit machines). It can compute factorizations, perform elliptic curve computations and perform algebraic number theory calculations. It also allows computations with matrices, polynomials, power series, algebraic numbers and implements many special functions. PARI/GP comes with its own built-in graphical plotting capability. PARI/GP has some symbolic manipulation capability, e.g., multivariate polynomial and rational function handling. It also has some formal integration and differentiation capabilities. PARI/GP can be compiled with GMP (GNU Multiple Precision Arithmetic Library) providing faster computations than PARI/GP's native arbitrary-precision kernel. HistoryPARI/GP's progenitor was a program named Isabelle, an interpreter for higher arithmetic, written in 1979 by Henri Cohen and François Dress at the Université Bordeaux 1.[1] PARI/GP was originally developed in 1985 by a team led by Henri Cohen at Laboratoire A2X and is now maintained by Karim Belabas at the Université Bordeaux 1 with the help of many volunteer contributors. EtymologyThe name PARI is a pun about the project's early stages when the authors started to implement a library for "Pascal ARIthmetic" in the Pascal programming language (although they quickly switched to C), and after "pari de Pascal" (Pascal's Wager).[2] The first version of the gp calculator was originally called GPC, for Great Programmable Calculator. The trailing C was eventually dropped.[2] Usage examplesBelow are some samples of the gp calculator usage: ? \\p 212 realprecision = 221 significant digits (212 digits displayed)? (1.378-0.09143*I)^(14.87+0.3721*I)time = 0 ms.%1 = 80.817082637557070449383034933010288336925078193546211741027496566803185110925792657439929206283145167399627244460426678862453227164569661204139651873272488827365261487845201056199035423784093096984005713791800191 - 94.838461889186304973351271821601500916571303364865064205039706592481303045713982306764332644305117525157057688587100513820353771954974829340172391797575388246887990680136241031895212412150770309289450962931402933*I? 123456! + 0. \\\\ slower than gamma(123457) which uses floating pointtime = 1,656 ms.%2 = 2.6040699049291378729513930560926568818273270409503019584610185579952057379676834157935607166171279087355200170616660008572612714566985893730865282934317244121152865814030204645985573419251305342231135573491050756 E574964? sin(x)time = 0 ms.%3 = x - 1/6*x^3 + 1/120*x^5 - 1/5040*x^7 + 1/362880*x^9 - 1/39916800*x^11+ 1/6227020800*x^13 - 1/1307674368000*x^15 + O(x^17)? for(z=25,30, print (factor(2^z-1)))[31, 1; 601, 1; 1801, 1][3, 1; 2731, 1; 8191, 1][7, 1; 73, 1; 262657, 1][3, 1; 5, 1; 29, 1; 43, 1; 113, 1; 127, 1][233, 1; 1103, 1; 2089, 1][3, 2; 7, 1; 11, 1; 31, 1; 151, 1; 331, 1]time = 5 ms.? K = bnfinit(x^2 + 23); K.cyctime = 1ms.%4 = [3]/* This number field has class number 3. */ See also{{Portal|Free and open-source software}}
References1. ^{{cite journal |title=Le langage et l'interpréteur 'Isabelle', spécialement conçus pour utilisations arithmétiques |author=François Dress |journal=Séminaire de Théorie des Nombres de Bordeaux |volume=9 | at=exposé № 4 |year=1979–1980 |url=http://gdz.sub.uni-goettingen.de/dms/load/img/?PPN=PPN320141322_0009&DMDID=DMDLOG_0009&LOGID=LOG_0009&PHYSID=PHYS_0023}} 2. ^1 "TRIVIA" section of "Manpage of GP," 10 August 2004 External links
8 : 1985 software|C libraries|Command-line software|Computer algebra system software for Linux|Cross-platform free software|Free computer algebra systems|Free software programmed in C|Portable software |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。