arithmoi: Efficient basic number-theoretic functions. Primes, powers, integer logarithms.
A library of basic functionality needed for number-theoretic calculations. The aim of this library is to provide efficient implementations of the functions. Primes and related things (totients, factorisation), powers (integer roots and tests, modular exponentiation), integer logarithms. Note: Requires GHC >= 6.12 with the integer-gmp package for efficiency. Portability is on the to-do list (with low priority, however).
Versions [faq] | 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.2.0.0, 0.2.0.1, 0.2.0.2, 0.2.0.3, 0.2.0.4, 0.2.0.5, 0.2.0.6, 0.3.0.0, 0.4.0.0, 0.4.0.1, 0.4.0.2, 0.4.0.3, 0.4.0.4, 0.4.1.0, 0.4.1.1, 0.4.1.2, 0.4.1.3, 0.4.2.0, 0.4.3.0, 0.5.0.0, 0.5.0.1, 0.6.0.0, 0.6.0.1, 0.7.0.0, 0.8.0.0 |
---|---|
Change log | Changes |
Dependencies | array (>=0.3 && <0.6), base (==4.*), containers (>=0.3 && <0.6), ghc-prim (<0.5), integer-gmp (<1.1), mtl (>=2.0 && <2.3), random (>=1.0 && <1.2) [details] |
License | MIT |
Copyright | (c) 2011 Daniel Fischer |
Author | Daniel Fischer |
Maintainer | Carter Schonwald carter at wellposed dot com |
Category | Math, Algorithms, Number Theory |
Home page | https://github.com/cartazio/arithmoi |
Bug tracker | https://github.com/cartazio/arithmoi/issues |
Source repo | head: git clone https://github.com/cartazio/arithmoi |
Uploaded | by CarterSchonwald at Thu Jul 2 20:25:55 UTC 2015 |
Distributions | LTSHaskell:0.8.0.0, NixOS:0.8.0.0, Stackage:0.8.0.0 |
Downloads | 20446 total (449 in the last 30 days) |
Rating | 1.75 (votes: 3) [estimated by rule of succession] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2015-07-02 [all 1 reports] |
Modules
[Index]
Flags
Name | Description | Default | Type |
---|---|---|---|
llvm | Compile the library with the LLVM backend | Disabled | Manual |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- arithmoi-0.4.1.3.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)