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

Safe HaskellSafe
LanguageHaskell98

Numeric.LinearAlgebra.Matrix

Documentation

data Mat44 a Source #

Instances

Functor Mat44 Source # 

Methods

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

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

Matrix Mat44 Source # 

Methods

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 #

Eq a => Eq (Mat44 a) Source # 

Methods

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

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

Ord a => Ord (Mat44 a) Source # 

Methods

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 #

Read a => Read (Mat44 a) Source # 
Show a => Show (Mat44 a) Source # 

Methods

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

show :: Mat44 a -> String #

showList :: [Mat44 a] -> ShowS #

data Mat33 a Source #

Instances

Functor Mat33 Source # 

Methods

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

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

Matrix Mat33 Source # 

Methods

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 #

Eq a => Eq (Mat33 a) Source # 

Methods

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

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

Ord a => Ord (Mat33 a) Source # 

Methods

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 #

Read a => Read (Mat33 a) Source # 
Show a => Show (Mat33 a) Source # 

Methods

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

show :: Mat33 a -> String #

showList :: [Mat33 a] -> ShowS #