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. The library also defines a type of infinite towers of generalized derivatives. A generalized derivative is a linear transformation rather than one of the usual concrete representations (scalars, vectors, matrices, ...).
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.4 contains some modules that require ghc 6.10 or better.
Data.AVectorSpace is a 6.10-friendly replacement for
After a while, when 6.10 is widespread, I'll switch over entirely and eliminate the earlier versions.
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.