Mathematics scripts - Top 4 Download

Mathematics script downloads

Wolfram style cellular automata

This is a little script that uses Python to generate the cellular automata that Wolfram discusses in his book "A New Kind of Scilfram disquot;.The script uses the Python Imaging Library to render the output, but you could replace this with text or any other method of visualization. ...
Python

Sparse

'sparse' is a matrix class based on a dictionary to store data using 2-element tuples (i,j) as keys (i is the row and j the column index). The common matrix operations such as 'dot' for the inner product, multiplication/division by a scalar, indexing/slicing, etc. are overloaded for convenience.When used in conjunction ...
Python

Fractal tree

This script could be used to compute and display a 2D fractal tree. A fractal tree is constructed iteratively by growing new branches, which have a specific length ratio with respect to the parent branch (scaling factor). The fan angle, the number of new branches and number of generations are user controlled. The ...
Python

Access Cairo surface from numpy and pygame

This script aliases the memory from a cairo surface so that you can manipulate the bits as a numpy array, or display/manipulate the image in pygame. ...
Python

NumPy

The fundamental package needed for scientific computing with Python is called NumPy.  This package contains: - a powerful N-dimensional array object - sophisticated (broadcasting) functions - basic linear algebra functions - basic Fourier transforms - sophisticated random number capabilities - tools for integrating Fortran code. Besides ...
Python

Modular toolkit for data processing

Modular toolkit for Data Processing (MDP) is a Python data processing framework. Implemented algorithms include: Principal Component Analysis (PCA), Independent Component Analysis (ICA), Slow Feature Analysis (SFA), Growing Neural Gas (GNG), Factor Analysis, Fisher Discriminant Analysis (FDA), and Gaussian Classifiers. From the user's perspective, MDP consists of a collection of trainable ...
Python

Natural Language Toolkit

NLTK, the Natural Language Toolkit, is a suite of program modules, data sets and tutorials supporting research and teaching in computational linguistics and natural language processing. NLTK is ideally suited to students who are learning NLP (natural language processing) or conducting research in NLP or closely related areas, including empirical linguistics, ...
Python

Charlemagne

Charlemagne is a genetic programming application which aims to be highly configurable and applicable to a broad range of problems.It is written in Python and Lisp and to some degree is extensible in both languages. It features built-in input-output mapping support, but also provides the ability to define complex fitness calculators ...
Python

Extended great common divisor function

This script contains a function that finds out the gcd(a,b)(great common divisor of a and b) as a linear conbination of a anb b, ax by=gcd(a,b). ...
Python