The GNU Scientific Library (GSL) is a numerical library for C and C programmers. It is free software under the GNU General Public License. The library provides a wide range of mathematical routines such as random number generators, special functions and least-squares fitting. There are over 1000 functions in total with ...
ATLAS (Automatically Tuned Linear Algebra Software) provides highly optimized Linear Algebra kernels for arbitrary cache-based architectures.ATLAS provides ANSI C and Fortran77 interfaces for the entire BLAS API, and a small portion of the LAPACK API. ...
This is a trivial calculator "shell" with a running total.As trivial as it is, I find it to be more useful than a normal calculator when doing my checkbook because of the ever-present running total. ...
This script is a Python module implementing a class which can be used for computing numerical statistics for a given data set.This recipe implements a descriptive statistical analysis class. It's intended to aid in computing numerical statistics for a given data set. It's well documented and hopefully useful. ...
This code gets factorial of a number and for negative numbers returns 1.The recursive implementation of factorial is easy but using lambda keyword of python it becomes a bit tough as we can't use conditional if else in lambda. If a user wants to return a factorial function on the fly ...
This function provides farey sequence, F(n), for any integer n.There's probably a more elegant solution out there, but I couldn't find it. Note: it doesn't prepend (0,1) and append (1,1)... ...
Photographic document images are often rotated, if only slightly. This code mediates an input of a series of four points--assumed to be the corners of a rectangular document--in any order, as mouse clicks.Then it determines the orientation of the points and calculates a "quality" value, as an indication to the user ...
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. ...
'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 ...
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 ...
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. ...
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 ...
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 ...
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, ...
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 ...
This script allows you to assign temperature values in one scale and you have it available in others as respective attributes. Kelvin, Celsius, Fahrenheit, and Rankine are supported (k, c, f, r attributes). ...
GENtle is a software for DNA and amino acid editing, database management, plasmid maps, restriction and ligation, alignments, sequencer data import, calculators, gel image display, PCR, and much more. ...
This program allows you to manage clinical medical records. It is designed for Family Physicians, Pediatricians, Internists or Primary Care and is network enabled.It has Tk GUI and web browser based interfaces. ...
PyEphem provides scientific-grade astronomical computations for the Python programming language. Given a date and location on the Earth's surface, it can compute the positions of the Sun and Moon, of the planets and their moons, and of any asteroids, comets, or earth satellites whose orbital elements the user can provide.Additional functions ...