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

The Vec package

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.

Properties

Versions0.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
Dependenciesarray, base (≤5), ghc-prim, QuickCheck (2.*)
LicenseBSD3
AuthorScott E. Dillard
MaintainerScott E. Dillard <sedillard@gmail.com>
StabilityExperimental
CategoryData, Math
Home pagehttp://graphics.cs.ucdavis.edu/~sdillard/Vec
Upload dateThu Jun 17 15:38:19 UTC 2010
Uploaded byScottDillard
Built onghc-6.12, ghc-7.0
Build failureghc-7.2 (log)
DistributionsNixOS: 0.9.8

Modules

Downloads