The Vec package

[Tags: bsd3, library]

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. Efficient code is generated using Storable and unboxed array instances or an optional packed representation.


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, 0.9.9, 1.0, 1.0.1, 1.0.5
Dependenciesarray, base, 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 dateSat Apr 4 03:38:25 UTC 2009
Uploaded byScottDillard
DistributionsNixOS:1.0.5
Downloads1473 total (116 in last 30 days)

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees