shapes-math-0.1.0.0: faster vector/matrix math using unboxed numbers and Template Haskell

Safe HaskellSafe
LanguageHaskell2010

Shapes.Linear.Boxed

Documentation

data V2 Source #

Constructors

V2 Double Double 

Instances

Show V2 Source # 

Methods

showsPrec :: Int -> V2 -> ShowS #

show :: V2 -> String #

showList :: [V2] -> ShowS #

dot :: V2 -> V2 -> Double Source #