linearmap-category: Native, complete, matrix-free linear algebra.

[ gpl, library, math ] [ Propose Tags ]

The term numerical linear algebra is often used almost synonymous with matrix modifications. However, what's interesting for most applications are really just points in some vector space and linear mappings between them, not matrices (which represent points or mappings, but inherently depend on a particular choice of basis / coordinate system).

This library implements the crucial LA operations like solving linear equations and eigenvalue problems, without requiring that the vectors are represented in some particular basis. Apart from conceptual elegance (only operations that are actually geometrically sensible will typecheck – this is far stronger than just confirming that the dimensions match, as some other libraries do), this also opens up good optimisation possibilities: the vectors can be unboxed, use dedicated sparse compression, possibly carry out the computations on accelerated hardware (GPU etc.). The spaces can even be infinite-dimensional (e.g. function spaces).

The linear algebra algorithms in this package only require the vectors to support fundamental operations like addition, scalar products, double-dual-space coercion and tensor products; none of this requires a basis representation.


Maintainer's Corner

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,,,,,,,,,
Dependencies base (>=4.8 && <5), call-stack, constrained-categories (>=0.3 && <0.5), containers, data-default-class, free-vector-spaces (>=0.1.4 && <0.3), hashable, ieee754 (>=0.7 && <0.9), lens, linear, manifolds-core (>= && <0.7), MemoTrie, QuickCheck (>=2.11 && <2.15), semigroups, tagged, template-haskell (>=2.12 && <2.18), transformers, vector, vector-space (>=0.11 && <0.18) [details]
License GPL-3.0-only
Author Justus Sagemüller
Maintainer (@) jsag $
Category Math
Home page
Uploaded by leftaroundabout at 2022-04-15T09:41:47Z
Distributions NixOS:
Downloads 5554 total (8 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-04-15 [all 1 reports]