资 源 简 介
A module for Python which provides interface to the PARI/GP computing library. We propose to write programs for PARI using Python scripting language. Python makes code much more clean, readable and manageable than the old-style PARI scripts.
Testing needed
Hi all,
I have not received almost no feedback on this project. Although I am using this library very frequently myself, I don"t know if anyone else can install and use it. Please, try it, post issues, leave comments.
To build (Ubuntu):
Prerequisites: gcc, g++, libpari-dev, python-dev
wget http://pari-python.googlecode.com/files/pari-python-1.0.tar.gztar -xvf pari-python-1.0.tar.gzcd pari-pythonpython setup.py buildsudo python setup.py install
Examples:
>>> from pari import *>>> fibonacci(100)354224848179261915075>>> intnum(0,1,lambda x:x**2)0.3333333333333333333333333333>>> <
文 件 列 表
pari-python
ipythonrc-pari
gen.h
desc
pari_startup_ip.py
generate
args.cpp
setup.py
pari-functions.cpp.mako
gen_xml
headers
core.cpp
pari-python.h
pari.cpp
test.py
args.h
errors.cpp
sh_run_ipython
errors.h
cast.cpp
install
generate.py
test
pari_startup.py
gen.cpp
run_python-win.bat
asnumber.cpp
auto
run_python.bat
run_ipython.bat
sh_run_python
__init__.py
assequence.cpp