Copyright | (c) 2020 Cedric Liegeois |
---|---|
License | BSD3 |
Maintainer | Cedric Liegeois <ofmooseandmen@yahoo.fr> |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
3-element vector.
Synopsis
- data Vector3d = Vector3d {}
- vadd :: Vector3d -> Vector3d -> Vector3d
- vsub :: Vector3d -> Vector3d -> Vector3d
- vdot :: Vector3d -> Vector3d -> Double
- vnorm :: Vector3d -> Double
- vcross :: Vector3d -> Vector3d -> Vector3d
- vmultm :: Vector3d -> [Vector3d] -> Vector3d
- vscale :: Vector3d -> Double -> Vector3d
- vunit :: Vector3d -> Vector3d
- vzero :: Vector3d
- transpose :: [Vector3d] -> [Vector3d]
- mdot :: [Vector3d] -> [Vector3d] -> [Vector3d]