newsletterlibrary.com

Top : Computers : Programming : Languages : Python : Modules :
Math and Calculations

Websites
Date and Time types for Python. [Open Source]
http://www.lemburg.com/files/python/mxDateTime.html

A Python module which understands the rules of chess and can adjudicate a game, verifying if moves are correct. [Open Source, GPL]
site exerpt
chess  Python module does not know how to play chess, but does understand the rules enough that it can watch moves and verify that they are correct. Getting the software The software is available in a tarball here: http www.alcyone.com/pyos/chess/chess-latest.tar.gz. The...
http://www.alcyone.com/pyos/chess/

A Python interface for the GNU scientific library. [Open Source, GPL/LGPL]
site exerpt
PyGSL  This project provides a python interface for the GNU scientific library (gsl Please look out for our site at sourceforge. Detailed information are available in the README file that comes with the source distribution. See what's going on in the...
http://pygsl.sourceforge.net/

A Python interface to the C++ library GiNaC (an open framework for symbolic computation within the C++ programming language). [Open Source, LGPL]
site exerpt
PyGiNaC Python Interface to GiNaC  Python package that provides an interface to C library GiNaC GiNaC is Not a CAS. GiNaC is open framework for symbolic computation within the C programming language. See GiNaC tutorial for more information about GiNaC capabilities and limitations. Currently PyGiNaC...
http://cens.ioc.ee/projects/pyginac/

Numerical Python adds a fast, compact multidimensional array language facility to Python. [Open Source, Python license]
site exerpt
Numerical Python  Dubois finished being caretaker of Numerical Python some time ago. The current caretakers are Travis Oliphant and Todd Miller. The Numerical Python Project Page has releases, links to the FTP site, a bug tracking system, a patch facility, and a...
http://www.pfdubois.com/numpy/

Python interface to the R system for statistical computing and graphics. [Open Source, BSD-like]
site exerpt
R/SPlus Python Interface  Python functions and methods This allows Python programmers unfamiliar with the syntax of R to easily use its functionality and vice versa. It also allows data to be manipulated using Pythons tools and then passed to R's rich graphical and...
http://www.omegahat.org/RSPython/index.html

Open Source Library of Scientific Tools. SciPy supplements the popular Numeric module, gathering a variety of high level science and engineering modules together as a single package. Within SciPy are modules for graphics and plotting, optimization, integration, special functions, signal and image processing, genetic algorithms, ODE solvers, and others. [Open Source, BSD-like]
site exerpt
SciPy Scientific Tools for Python SciPy Scientific tools for Python  Presentation materials are being posted as they are received. SciPy is an open source library of scientific tools for Python. SciPy supplements the popular Numeric module, gathering a variety of high level science and engineering modules together as a single...
http://www.scipy.org/

Provides multiprecision arithmetic functionality to Python programmers. [Open Source, LGPL]
site exerpt
Welcome to General Multiprecision PYthon  Project goals and strategies The General Multiprecision PYthon project (GMPY) focuses on Python-usable modules providing multiprecision arithmetic functionality to Python programmers. The project mission includes both C and C Python-modules (for speed) and pure Python modules (for flexibility and convenience...
http://gmpy.sourceforge.net/

A collection of Python modules that are useful for scientific computing. [Open Source, LGPL]
site exerpt
ScientificPython  Python is a collection of Python modules that are useful for scientific computing. In this collection you will find modules that cover basic geometry (vectors, tensors, transformations, vector and tensor fields quaternions, automatic derivatives linear) interpolation, polynomials, elementary statistics, nonlinear...
http://starship.python.net/~hinsen/ScientificPython/

Python code module containing financial calculation functions for industrial cost analysis.
site exerpt
 Contains financial calculation functions for industrial cost analysis The algorithms in this module and the examples are mainly inspired by one book Title Engineering Economic Analysis Authors: Donald G. Newman, Jerome P. Lavelle Publisher: Engineering Press, Austin/Texas Edition: 7th, 1998...
http://www.h7.dion.ne.jp/~harm/cost_analysis.py

Python code module for fixed point decimal calculations.
site exerpt
 Released to the public domain 28-Mar-2001 by Tim Peters (tim.one@home.com Provided as-is; use at your own risk; no warranty; no promises; enjoy FixedPoint objects support decimal arithmetic with a fixed number of digits (called the object's precision) after the decimal...
http://starship.python.net/crew/aahz/FixedPoint.py

Python code module to perform fourier transformations in python.
site exerpt
Python/Assorted/fourier.py  Numeric import from copy import copy def factor(num Determine factors of an integer num Take care of special cases. if type(num type(1) or num 0: raise ValueError elif num 4: return [2,2] elif num 5: return [num Fall through to...
http://starship.python.net/~hochberg/fourier.py.html

Python code module enhancing the calculation and presentation of fractional calculations.
site exerpt
Josh English's Fraction Page  Ramblings about almost anything Skip Menu Home Education Math My Gallery Blogs Projects Fraction Vector RelPath WebMenu WCMS PBM SWD Writing Journal POV-Ray Cyclopedia Humor Wedding Album Fraction.py I was working on a Polynomial Root Solver and got very tired...
http://www.spiritone.com/~english/code/fraction.html

Python package for numerical computation and plotting with a MatLab-like interface.
site exerpt
MatPy Matrix package for Python  Python package for numerical computation and plotting with a MatLab-like interface. It currently consists of wrappers around the Numeric, Gnuplot and SpecialFuncs packages. It provides an alternative interface to NumPy that is somewhat more convenient for matrix and vector computation....
http://matpy.sourceforge.net/

Arithmetic practice program for 5-7 year olds.
site exerpt
 Math is an arithmetic practice program for 5-7 year olds. EarlyMath is for practicing arithmetic for 5 to 7 year old children Key Stage 1 in UK education-speak. The program presents random problems at a range of levels. EarlyMath is...
http://www.mclough.uklinux.net/EarlyMath.html

Cross platform calculator. Able to use paranthesis and can cope with very larger numbers.[OpenSource/GPL]
http://project5.freezope.org/mathter/index.html/#

Collection of FORTRAN routines interfaced with NumPy. Provides interactive data analysis environment comparative to MATLAB, Octave, Scilab, etc. built on Python.
site exerpt
Multipack Home Page  N routines interfaced with NumPy) Introduction: Multipackmodule 0.7 is a C-extension module along with the FORTRANroutines it calls that provide a user-interface to the commonly used subroutines of ODEPACK, QUADPACK, MINPACK, etc. It aims to provide all the numerical horsepower...
http://pylab.sourceforge.net/multipack.html

Dates and date calculations without excess baggage (time zones, daylight savings, leap seconds, etc.).
site exerpt
Python Date Class: NormalDate  The handling of dates is a fundamental requirement for most systems and applications programming. One of the date formats most commonly used is the C Standard time functions, which attempt to deal with calendar time, local time, and Daylight Savings...
http://starship.python.net/crew/jbauer/normalDate/

NURBS allgorithms in use for naval architechture.
site exerpt
My Homepage NURBS  This python module is a port of Mark Spink's SCILAB/MATLAB toolbox to python with help of NumPy. As a Naval Architect i often encounter NURBS in my work. Either through CAD or technical calculations. Wanting to learn more about NURBS...
http://runten.tripod.com/NURBS/index.html

Return list of the n n'th roots of a complex number.
site exerpt
 Peters of the tutors list and much other fame def getComplexNumberFromUser c raw_input Enter either a complex number in form x yj, or a real number if j not in c: c eval(c 0j else: c eval(c) n int(raw_input Enter...
http://www.rcblue.com/Python/croots.py

A free/open-source library for quantitative finance. [Open Source, BSD-like]
site exerpt
QuantLib: a free/open-source library for quantitative finance  Lib project is aimed at providing a comprehensive software framework for quantitative finance. QuantLib is a free/open-source library for modeling, trading, and risk management in real-life. QuantLib is written in C with a clean object model, and is then exported...
http://quantlib.org/

Statistical functions. [Open Source/GPL]
site exerpt
Python Modules  I have generated a number of python modules that I thought others might find useful. The links to these modules and descriptions of their contents appear below. Please note that none embody anything resembling ideal python programming style. I've just...
http://www.nmr.mgh.harvard.edu/N...l_Systems_Group/gary/python.html