# Vector-space

### From HaskellWiki

(→Abstract) |
(→Abstract) |
||

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

Line 4: | Line 4: | ||

== Abstract == |
== Abstract == |
||

− | '''vector-space''' is library that provides provides classes and generic operations for vector spaces and affine spaces. It 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, ...). See the [http://conal.net/blog/tag/derivatives/ related posts] for more info about this notion of derivatives. |
+ | '''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, ...). |
||

− | ''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. |
+ | 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: |
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]. ''(Out of date until haddock is ready for ghc-6.9.)'' |
+ | * 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-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]]. |
||

− | == See also == |
+ | Please leave comments at the [[Talk:vector-space|Talk page]]. |

− | |||

− | * [[Linear algebra]] |
||

− | * [[Mathematical prelude discussion]] |

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