# Vector-space

### From HaskellWiki

(→Abstract) |
m (link to MemoTrie) |

## Revision as of 16:57, 21 October 2008

## Abstract

**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.4 contains some modules that require ghc 6.10 or better.
For instance, `Data.AVectorSpace`

is a 6.10-friendly replacement for `Data.VectorSpace`

.
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.