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,, 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 Tue Oct 16 00:10:49 UTC 2018
Distributions NixOS:
Downloads 1156 total (21 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-10-16 [all 1 reports]
Hackage Matrix CI


[Index] [Quick Jump]


Maintainer's Corner

For package maintainers and hackage trustees