vector-space is library that provides provides classes and generic operations for additive groups, vector spaces and affine spaces. There are also vector space bases and a general notion of linear maps (linear transformations). The library also defines a type of infinite towers of generalized derivatives. A generalized derivative is a linear map rather than one of the usual concrete representations (scalars, vectors, matrices, ...).
The representation of linear maps uses MemoTrie.
Warning: Starting with version 0.3, this package depends on type families working fairly well, and requires ghc version at least 6.9. Version 0.5 requires ghc 6.10 or better.
Besides this wiki page, here are more ways to find out about vector-space:
- Read the library documentation.
- Get the code repository: darcs get http://code.haskell.org/vector-space.
- Install from Hackage.
- See the version history.
- Some blog posts on vector spaces, linear maps, and derivatives.
Please leave comments at the Talk page.