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

Safe HaskellNone
LanguageHaskell2010

Shapes.Linear.Double

Documentation

data V2 Source #

Constructors

V2 Double# Double# 

Instances

Show V2 Source # 

Methods

showsPrec :: Int -> V2 -> ShowS #

show :: V2 -> String #

showList :: [V2] -> ShowS #

Arbitrary V2 Source # 

Methods

arbitrary :: Gen V2 #

shrink :: V2 -> [V2] #

lift2V2 :: (Double# -> Double# -> Double#) -> V2 -> V2 -> V2 Source #

data M2x2 Source #

Instances

data V6 Source #

Instances

Show V6 Source # 

Methods

showsPrec :: Int -> V6 -> ShowS #

show :: V6 -> String #

showList :: [V6] -> ShowS #

Arbitrary V6 Source # 

Methods

arbitrary :: Gen V6 #

shrink :: V6 -> [V6] #

lift2V6 :: (Double# -> Double# -> Double#) -> V6 -> V6 -> V6 Source #

data V3 Source #

Constructors

V3 Double# Double# Double# 

Instances

Show V3 Source # 

Methods

showsPrec :: Int -> V3 -> ShowS #

show :: V3 -> String #

showList :: [V3] -> ShowS #

Arbitrary V3 Source # 

Methods

arbitrary :: Gen V3 #

shrink :: V3 -> [V3] #

lift2V3 :: (Double# -> Double# -> Double#) -> V3 -> V3 -> V3 Source #

split3v3 :: V6 -> (V3, V3) Source #

join3v3 :: V3 -> V3 -> V6 Source #