Supports base-2, base-10, base-16, and base-256 numbers.
Uses the GMP or BCMath extensions, if available,
and an internal implementation, otherwise.
A package that returns all the combinations and
permutations, without repitition, of a given set
and subset size. Associative arrays are preserved.
Rocs aims to be a graph theory IDE for helping professors to show the
results of a graph algorithm and also helping students to do the
algorithms.
FEATURES
- Canvas for graph drawing.
- IDE for graph related programming, using JavaScript as its main
language, plus the graph library.
- Nodes, graphs and edges are extensible from the scripting interface,
so you can do anything you want.
A C-coded Python extension module that wraps the GMP library to provide
to Python code fast multiprecision arithmetic (integer, rational, and
float), random number generation, advanced number-theoretical functions,
and more.
Physcalc is a neat mathematical calculator that does conversions
from many different units in many forms, and is extremely flexible
as far as specifying math problems go. You can also add your own
types of conversions.
The cdecimal is a fast drop-in replacement for the decimal module in Python's
standard library. Both modules provide complete implementations of the General
Decimal Arithmetic Specification.
Typical performance gains are between 30x for I/O heavy benchmarks and 80x for
numerical programs. In a database benchmark, cdecimal exhibits a speedup of
12x over decimal.py.
decimal cdecimal speedup
pi 42.75s 0.58s 74x
telco 172.19s 5.68s 30x
psycopg 3.57s 0.29s 12x
All Python versions from 2.5 up to 3.2 are supported. For the few remaining
differences, read the cdecimal documentation. cdecimal has been included in
Python-3.3.
This is a port of Phil Karn's Reed-Solomon CODEC library. This package may be
useful to programmers working on data communications software.
This module extends Python with a Graph class which is capable of handling
arbitrary directed and undirected graphs with thousands of nodes and millions
of edges. Since the module makes use of the open source igraph library
written in almost 100% pure C, it is blazing fast and outperforms most other
pure Python-based packages around.
Mpmath is a pure-Python library for multiprecision floating-point
arithmetic. It provides an extensive set of transcendental functions,
unlimited exponent sizes, complex numbers, interval arithmetic,
numerical integration and differentiation, root-finding, linear algebra,
and much more. Almost any calculation can be performed just as well at
10-digit or 1000-digit precision, and in many cases mpmath implements
asymptotically fast algorithms that scale well for extremely high
precision work. If available, mpmath will (optionally) use gmpy to
speed up high precision operations.
This is a port of Phil Karn's SIMD assisted Viterbi CODEC library. This
package may be useful to programmers working on data communications software.