vector-space-map: vector-space operations for finite maps using Data.Map

[ library, math, mit ] [ Propose Tags ]

Data.Map.Vector provides MapVector, a wrapper around Map from containers which supports constant maps, i.e. maps containing only one value. This allows an identity under intersection and an Applicative instance. It also has instances of AdditiveGroup, VectorSpace, InnerSpace, and HasBasis with appropriate value types. Provides operations for addition, subtraction, element-wise operations (through Applicative), scalar multiplication (through VectorSpace), and dot product. Also consider Conal Elliott's total-map package.

Versions [faq],, 0.2.0, 0.2.1,
Dependencies base (<5), containers (<0.7), vector-space (>=0.5 && <0.16) [details]
License MIT
Author Christian Conkle
Category Math
Home page
Source repo head: git clone git://
this: git clone git://
Uploaded by ChristianConkle at 2018-10-16T00:10:49Z
Distributions NixOS:
Downloads 2744 total (5 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2018-10-16 [all 1 reports]


[Index] [Quick Jump]


Maintainer's Corner

For package maintainers and hackage trustees