| ||||||||
| ||||||||
Description | ||||||||
Matrix math | ||||||||
Documentation | ||||||||
data Matrix | ||||||||
| ||||||||
type MatrixPtr = Ptr Matrix | ||||||||
identity :: Matrix | ||||||||
translate :: Double -> Double -> Matrix -> Matrix | ||||||||
scale :: Double -> Double -> Matrix -> Matrix | ||||||||
rotate :: Double -> Matrix -> Matrix | ||||||||
transformDistance :: Matrix -> (Double, Double) -> (Double, Double) | ||||||||
transformPoint :: Matrix -> (Double, Double) -> (Double, Double) | ||||||||
scalarMultiply :: Double -> Matrix -> Matrix | ||||||||
adjoint :: Matrix -> Matrix | ||||||||
invert :: Matrix -> Matrix | ||||||||
Produced by Haddock version 0.7 |