yarr
Version 1.4.0.1 revision 0 uploaded by DominicSteinitz.
Package meta
- Synopsis
- Yet another array library
- Description
Yarr is a new blazing fast dataflow framework (array library), mainly intented to process
Storable
s (including all "primitive" numeric types) andfixed-vector
s of them, for example coordinates, color components, complex numbers.Yarr framework is inspired by
repa
library and inherits its features, including shape-polymorphism and auto-parallelism. Additionaly, the framework is polymorphic over type and arity of fixed-size vectors and supports neat flow operations over them. For example, you can convert colored image to greyscale like this:let greyImage = zipElems (\r g b -> 0.21 * r + 0.71 * g + 0.07 * b) image
In some cases the library is considerably faster than
repa
. See benchmark results: https://github.com/leventov/yarr/blob/master/tests/bench-results.mdShortcoming by design: lack of pure indexing interface.
To start with, read documentation in the root module: Data.Yarr.
Yarr!
- Author
- Roman Leventov
- Bug reports
- https://github.com/leventov/yarr/issues
- Category
- Data Structures, Data Flow, Graphics
- Copyright
- n/a
- Homepage
- n/a
- Maintainer
- Dominic Steinitz <dominic@steinitz.org>
- Package URL
- n/a
- Stability
- n/a