Vec: Fixed-length lists and low-dimensional linear algebra.

[ bsd3, data, library, math ] [ Propose Tags ] [ Report a vulnerability ]

Vectors are represented by lists with type-encoded lengths. The constructor is :., which acts like a cons both at the value and type levels, with () taking the place of nil. So x:.y:.z:.() is a 3d vector. The library provides a set of common list-like functions (map, fold, etc) for working with vectors. Built up from these functions are a small but useful set of linear algebra operations: matrix multiplication, determinants, solving linear systems, inverting matrices.

Modules

[Last Documentation]

  • Data
    • Data.Vec
      • Data.Vec.Base
      • Data.Vec.LinAlg
      • Data.Vec.Nat
      • Data.Vec.Packed

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.9.6, 0.9.7, 0.9.8, 0.9.9, 1.0, 1.0.1, 1.0.5
Dependencies base, QuickCheck (<2) [details]
License BSD-3-Clause
Author Scott E. Dillard
Maintainer Scott E. Dillard <sedillard@gmail.com>
Category Data, Math
Uploaded by ScottDillard at 2008-11-05T19:11:38Z
Distributions NixOS:1.0.5
Reverse Dependencies 15 direct, 46 indirect [details]
Downloads 13420 total (25 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2017-01-02 [all 9 reports]