# Vector-space

### From HaskellWiki

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

(6 intermediate revisions by 3 users not shown) | |||

Line 1: | Line 1: | ||

+ | [[Category:Mathematics]] |
||

+ | [[Category:Packages]] |
||

+ | |||

== Abstract == |
== 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). |
+ | '''vector-space''' is library that 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. |
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, ...). |
A generalized derivative is a linear map rather than one of the usual concrete representations (scalars, vectors, matrices, ...). |
||

Line 8: | Line 11: | ||

''Warning'': Starting with version 0.3, this package depends on type families working fairly well, and requires ghc version at least 6.9. |
''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. |
+ | Version 0.5 requires ghc 6.10 or better. |

− | For instance, <code>Data.AVectorSpace</code> is a 6.10-friendly replacement for <code>Data.VectorSpace</code>. |
||

− | 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: |
Besides this wiki page, here are more ways to find out about vector-space: |
||

− | * Read [http://code.haskell.org/vector-space/doc/html/ the library documentation]. |
+ | * Visit the [http://hackage.haskell.org/cgi-bin/hackage-scripts/package/vector-space Hackage page] for library documentation and to download & install. |

− | * Get the code repository: '''<tt>darcs get http://code.haskell.org/vector-space</tt>'''. |
+ | * Or install with <tt>cabal install vector-space</tt>. |

− | * Install from [http://hackage.haskell.org/cgi-bin/hackage-scripts/package/vector-space Hackage]. |
+ | * Get the code repository: <tt>darcs get http://code.haskell.org/vector-space</tt>. |

− | * See the [[vector-space/Versions| version history]]. |
+ | <!-- * See the [[vector-space/Versions| version history]]. --> |

− | * Some blog posts on [http://conal.net/blog/tag/vector-spaces/ vector spaces], [http://conal.net/blog/tag/linear-maps/ linear maps], and [http://conal.net/blog/tag/derivatives/ derivatives]. |
+ | * Some blog posts on [http://conal.net/blog/tag/vector-space/ vector spaces], [http://conal.net/blog/tag/linear-map/ linear maps], and [http://conal.net/blog/tag/derivatives/ derivative]. |

+ | |||

Please leave comments at the [[Talk:vector-space|Talk page]]. |
Please leave comments at the [[Talk:vector-space|Talk page]]. |

## Latest revision as of 08:45, 12 March 2011

## [edit] Abstract

**vector-space** is library that 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:

- Visit the Hackage page for library documentation and to download & install.
- Or install with
`cabal install vector-space`. - Get the code repository:
`darcs get http://code.haskell.org/vector-space`. - Some blog posts on vector spaces, linear maps, and derivative.

Please leave comments at the Talk page.