nonlinear: Low-dimensional vectors

[ bsd3, library, web ] [ Propose Tags ]

A lightweight, opinionated clone of the low-dimensional vector parts of linear. See README.md for more information.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0
Change log CHANGELOG.md
Dependencies base [details]
License BSD-3-Clause
Copyright 2022 Cross Compass Ltd
Author Jonas Carpay
Maintainer jonas@cross-compass.com
Category Web
Uploaded by jonascarpay at 2022-06-26T23:04:04Z
Distributions NixOS:0.1.0
Downloads 31 total (6 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-06-27 [all 1 reports]

Readme for nonlinear-0.1.0

[back to package description]

nonlinear

Low-dimensional vectors.

More specifically, a lightweight, opinionated clone of the low-dimensional vector parts of linear.

Differences from linear

Our primary focus is on providing a set of low-dimensional vector types (i.e. V1 through V4), and avoiding dependencies. We specifically don't aim to make functions/classes general/principled/robust enough to be used for e.g. sparse vectors. This means there is just a single type class, Vec, equivalent to Traversable Representable Obviously, that makes certain operations more restrictive than they are in linear.

Anything related to projective/homogeneous coordinates has been moved to the Nonlinear.Projective namespace. There is Hom2 and Hom3 for 2- and 3-dimensional homogeneous coordinates, respectively.