PrimitiveArray: Efficient multidimensional arrays
generalized Algebraic Dynamic Programming
This library provides efficient multidimensional arrays. Import
Data.PrimitiveArray
for indices, lenses, and arrays.
For generalized ADP users, the library also provides the machinary to fill tables in the correct order required by usual CYK-style parsers, or regular grammars (used e.g. in alignment algorithms). This means that unless your grammar requires a strange order in which parsing is to be performed, it will mostly "just work".
In general operations do not perform bounds-checking or other
sanity-checking and are aimed towards efficiency as much as
possible. Users (like ADPfusion
) should perform their own
bounds-checking, outside of code that performs "loop-like"
operations.
[Skip to Readme]
Modules
[Index] [Quick Jump]
- Data
- Data.PrimitiveArray
- Data.PrimitiveArray.Checked
- Data.PrimitiveArray.Class
- Data.PrimitiveArray.Dense
- Data.PrimitiveArray.HashTable
- Data.PrimitiveArray.Index
- Data.PrimitiveArray.Index.BitSet0
- Data.PrimitiveArray.Index.BitSet1
- Data.PrimitiveArray.Index.BitSetClasses
- Data.PrimitiveArray.Index.Class
- Data.PrimitiveArray.Index.IOC
- Data.PrimitiveArray.Index.Int
- Data.PrimitiveArray.Index.PhantomInt
- Data.PrimitiveArray.Index.Point
- Data.PrimitiveArray.Index.Subword
- Data.PrimitiveArray.Index.Unit
- Data.PrimitiveArray.Sparse
- Data.PrimitiveArray
Flags
Manual Flags
Name | Description | Default |
---|---|---|
debug | Enable bounds checking and various other debug operations at the cost of a significant performance penalty. | Disabled |
debugoutput | Enable debug output, which spams the screen full of index information | Disabled |
llvm | use llvm | Disabled |
debugdump | Enable dumping intermediate / core files | Disabled |
dump-core | Dump HTML for the core generated by GHC during compilation | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- PrimitiveArray-0.10.1.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.0.2.1, 0.0.2.2, 0.0.3.0, 0.0.3.1, 0.0.4.0, 0.1.1.2, 0.2.0.0, 0.2.1.0, 0.2.1.1, 0.2.2.0, 0.3.0.0, 0.4.0.0, 0.4.0.1, 0.5.0.0, 0.5.2.0, 0.5.3.0, 0.5.4.0, 0.6.0.0, 0.6.1.0, 0.7.0.0, 0.7.0.1, 0.7.1.0, 0.8.0.0, 0.8.0.1, 0.9.0.0, 0.9.1.0, 0.9.1.1, 0.10.0.0, 0.10.1.0, 0.10.1.1 |
---|---|
Change log | changelog.md |
Dependencies | aeson (>=0.8), base (>=4.7 && <5.0), binary (>=0.7), bits (>=0.4), cereal (>=0.4), cereal-vector (>=0.2), containers, deepseq (>=1.3), DPutils (>=0.1.1 && <0.1.2), hashable (>=1.2), hashtables (>=1.2), lens (>=4.0), log-domain (>=0.10), mtl (>=2.0), OrderedBits (>=0.0.2 && <0.0.3), primitive (>=0.5.4), QuickCheck (>=2.7), smallcheck (>=1.1), text (>=1.0), unordered-containers (>=0.2), vector (>=0.11), vector-algorithms (>=0.8), vector-binary-instances (>=0.2), vector-th-unbox (>=0.2) [details] |
Tested with | ghc ==8.8, ghc ==8.10, ghc ==9.0 |
License | BSD-3-Clause |
Copyright | Christian Hoener zu Siederdissen, 2011-2021 |
Author | Christian Hoener zu Siederdissen, 2011-2021 |
Maintainer | choener@bioinf.uni-leipzig.de |
Category | Data |
Home page | https://github.com/choener/PrimitiveArray |
Bug tracker | https://github.com/choener/PrimitiveArray/issues |
Source repo | head: git clone git://github.com/choener/PrimitiveArray |
Uploaded | by ChristianHoener at 2021-06-04T11:53:35Z |
Distributions | |
Reverse Dependencies | 28 direct, 8 indirect [details] |
Downloads | 24855 total (43 in the last 30 days) |
Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2021-06-04 [all 1 reports] |