lin-alg-0.1.0.3: Low-dimensional matrices and vectors for graphics and physics

Numeric.LinearAlgebra.Matrix

data Mat44 a Source #

Instances

Methods

fmap :: (a -> b) -> Mat44 a -> Mat44 b #

(<$) :: a -> Mat44 b -> Mat44 a #

mDim :: Mat44 a -> Int Source #

mElement :: Mat44 a -> Int -> Int -> a Source #

mIndexOf :: Ord a => (a -> a -> Bool) -> Mat44 a -> (Int, Int) Source #

mZip :: (a -> b -> c) -> Mat44 a -> Mat44 b -> Mat44 c Source #

mFold :: (a -> a -> a) -> Mat44 a -> a Source #

det :: Num a => Mat44 a -> a Source #

(==) :: Mat44 a -> Mat44 a -> Bool #

(/=) :: Mat44 a -> Mat44 a -> Bool #

compare :: Mat44 a -> Mat44 a -> Ordering #

(<) :: Mat44 a -> Mat44 a -> Bool #

(<=) :: Mat44 a -> Mat44 a -> Bool #

(>) :: Mat44 a -> Mat44 a -> Bool #

(>=) :: Mat44 a -> Mat44 a -> Bool #

max :: Mat44 a -> Mat44 a -> Mat44 a #

min :: Mat44 a -> Mat44 a -> Mat44 a #

readsPrec :: Int -> ReadS (Mat44 a) #

readList :: ReadS [Mat44 a] #

readPrec :: ReadPrec (Mat44 a) #

readListPrec :: ReadPrec [Mat44 a] #

showsPrec :: Int -> Mat44 a -> ShowS #

show :: Mat44 a -> String #

showList :: [Mat44 a] -> ShowS #

data Mat33 a Source #

fmap :: (a -> b) -> Mat33 a -> Mat33 b #

(<$) :: a -> Mat33 b -> Mat33 a #

mDim :: Mat33 a -> Int Source #

mElement :: Mat33 a -> Int -> Int -> a Source #

mIndexOf :: Ord a => (a -> a -> Bool) -> Mat33 a -> (Int, Int) Source #

mZip :: (a -> b -> c) -> Mat33 a -> Mat33 b -> Mat33 c Source #

mFold :: (a -> a -> a) -> Mat33 a -> a Source #

det :: Num a => Mat33 a -> a Source #

(==) :: Mat33 a -> Mat33 a -> Bool #

(/=) :: Mat33 a -> Mat33 a -> Bool #

compare :: Mat33 a -> Mat33 a -> Ordering #

(<) :: Mat33 a -> Mat33 a -> Bool #

(<=) :: Mat33 a -> Mat33 a -> Bool #

(>) :: Mat33 a -> Mat33 a -> Bool #

(>=) :: Mat33 a -> Mat33 a -> Bool #

max :: Mat33 a -> Mat33 a -> Mat33 a #

min :: Mat33 a -> Mat33 a -> Mat33 a #

readsPrec :: Int -> ReadS (Mat33 a) #

readList :: ReadS [Mat33 a] #

readPrec :: ReadPrec (Mat33 a) #

readListPrec :: ReadPrec [Mat33 a] #

showsPrec :: Int -> Mat33 a -> ShowS #

show :: Mat33 a -> String #

showList :: [Mat33 a] -> ShowS #