Vec: Fixed-length lists and low-dimensional linear algebra.
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.
| Versions | 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.9.6, 0.9.7 |
|---|---|
| Dependencies | array, base (<=5), ghc-prim, QuickCheck (<2) |
| License | BSD3 |
| Author | Scott E. Dillard |
| Maintainer | Scott E. Dillard <sedillard@gmail.com> |
| Stability | Experimental |
| Category | Data, Math |
| Home page | http://graphics.cs.ucdavis.edu/~sdillard/Vec |
| Upload date | Thu Feb 11 15:47:54 UTC 2010 |
| Uploaded by | ScottDillard |
| Built on | ghc-6.12 |
| Distributions | Arch: 0.9.6 |
Modules
Downloads
- Vec-0.9.7.tar.gz (Cabal source package)
- package description (included in the package)
