mathematics — a reasoning module

Numbers, operations and figures classified, and number theory and numerical methods calculated, as a DKE Python module you compile into your own store. You record whole numbers, the table of a finite operation and triangles by their sides; it concludes which numbers are prime, composite, perfect or abundant, an operation's identity, its inverses and whether it is a group, naming the cells that break a property, and a triangle's kind, each with its proof. It calculates greatest common divisors and modular inverses, primes and factors, continued fractions, roots, integrals and linear systems, bit for bit as CPython does.

Licence: MIT. Current version: 1.0.2, released in rev 145.

Get it

The whole release, as one archive:

curl -O https://dke.langsyn.com/source/mathematics/1.0.2/mathematics-1.0.2.tar.gz

Its SHA-256: 78a5b60a940a27b12405157a0883d11ec2993167d179c802e7cf358f9e620ef2.

Or browse version 1.0.2 file by file. /source/mathematics/latest/ always redirects to the current version. A release's files never change. When the next release supersedes this one, this version stays served at its URL, marked superseded, so cite the version and the archive's digest to say exactly which bytes you read, and use latest for a link that follows each new release.

Current release