Safe Haskell | None |
---|

- data Xyz a = Xyz a a a
- zipWithXyz :: (a -> b -> c) -> Xyz a -> Xyz b -> Xyz c
- cross :: Num a => Xyz a -> Xyz a -> Xyz a
- dot :: Num a => Xyz a -> Xyz a -> a
- normSquared :: Num a => Xyz a -> a
- norm :: Floating a => Xyz a -> a
- distance :: Floating a => Xyz a -> Xyz a -> a
- scale :: Num a => a -> Xyz a -> Xyz a
- normalizeTo :: Floating a => a -> Xyz a -> Xyz a -> Xyz a
- normalize :: Floating a => Xyz a -> Xyz a -> Xyz a
- mult3x3ByXyz :: (Num a, Storable a) => Matrix a -> Xyz a -> Xyz a
- mult3x3TransposeByXyz :: (Num a, Storable a) => Matrix a -> Xyz a -> Xyz a