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.
vectorCross :: Num a => Point a -> Point a -> acubicbezier Geom2D Cross product of two vectors.
vectorDistance :: Floating a => Point a -> Point a -> acubicbezier Geom2D Distance between two vectors.
vectorMag :: Floating a => Point a -> acubicbezier Geom2D The lenght of the vector.
vectorMagSquare :: Floating a => Point a -> acubicbezier Geom2D The lenght of the vector.
vectorIx :: Vector v a => Int -> Traversal' (v a) aoptics-extra Data.Vector.Generic.Optics Like ix but polymorphic in the vector type.
vectorTraverse :: forall v w a b . (Vector v a, Vector w b) => IxTraversal Int (v a) (w b) a boptics-extra Data.Vector.Generic.Optics Indexed vector traversal for a generic vector.
vector2 :: RealFloat a => a -> a -> Vector2 asimple-affine-space Data.Vector2 Creates a 2D vector from the cartesian coordinates.
vector2Polar :: RealFloat a => a -> a -> Vector2 asimple-affine-space Data.Vector2 Creates a 2D vector from the polar coordinates.
vector2Rho :: RealFloat a => Vector2 a -> asimple-affine-space Data.Vector2 Calculates the vector's radial distance (magnitude).
vector2RhoTheta :: RealFloat a => Vector2 a -> (a, a)simple-affine-space Data.Vector2 Polar coordinate representation of a 2D vector.