Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
Chart Graphics.Rendering.Chart.Plot.Vectors No documentation available.
VectorStyle :: LineStyle -> PointStyle -> VectorStyleChart Graphics.Rendering.Chart.Plot.Vectors No documentation available.
-
hmatrix-gsl Numeric.GSL.Minimization No documentation available.
VectorBFGS2 :: MinimizeMethodDhmatrix-gsl Numeric.GSL.Minimization No documentation available.
-
2D vector abstraction (R^2).
-
simple-affine-space Data.Vector2 2D Vector.
-
3D vector abstraction (R^3).
-
simple-affine-space Data.Vector3 3D Vector.
-
Vector space type relation and basic instances. There can be other implementations of VectorSpace, for example you could implement it with linear like this:
{-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE MultiParamTypeClasses #-} import FRP.Yampa import Linear as L instance (Eq a, Floating a) => VectorSpace (V2 a) a where zeroVector = L.zero (*^) = (L.*^) (^) = (L.^) negateVector = L.negated (^+^) = (L.^+^) (^-^) = (L.^-^) dot = L.dot
Using this you could benefit from more advanced vector operators and the improved performance linear brings while keeping a simple type class interface with few dependencies. class
VectorSpace v a | v -> asimple-affine-space Data.VectorSpace Vector space type relation. A vector space is a set (type) closed under addition and multiplication by a scalar. The type of the scalar is the field of the vector space, and it is said that v is a vector space over a. The encoding uses a type class |VectorSpace| v a, where v represents the type of the vectors and a represents the types of the scalars.