qlinear-0.1.0.0: Typesafe library for linear algebra
QLinear.Matrix
data Matrix (m :: Nat) (n :: Nat) a Source #
Defined in Internal.Matrix
Methods
fmap :: (a -> b) -> Matrix m n a -> Matrix m n b #
(<$) :: a -> Matrix m n b -> Matrix m n a #
pure :: a -> Matrix m n a #
(<*>) :: Matrix m n (a -> b) -> Matrix m n a -> Matrix m n b #
liftA2 :: (a -> b -> c) -> Matrix m n a -> Matrix m n b -> Matrix m n c #
(*>) :: Matrix m n a -> Matrix m n b -> Matrix m n b #
(<*) :: Matrix m n a -> Matrix m n b -> Matrix m n a #
(==) :: Matrix m n a -> Matrix m n a -> Bool #
(/=) :: Matrix m n a -> Matrix m n a -> Bool #
showsPrec :: Int -> Matrix m n a -> ShowS #
show :: Matrix m n a -> String #
showList :: [Matrix m n a] -> ShowS #
Defined in QLinear.Integration.Linear.To
Associated Types
type L (Matrix 1 1 a) :: Type Source #
toLinear :: Matrix 1 1 a -> L (Matrix 1 1 a) Source #
type L (Matrix 1 2 a) :: Type Source #
toLinear :: Matrix 1 2 a -> L (Matrix 1 2 a) Source #
type L (Matrix 1 3 a) :: Type Source #
toLinear :: Matrix 1 3 a -> L (Matrix 1 3 a) Source #
type L (Matrix 1 4 a) :: Type Source #
toLinear :: Matrix 1 4 a -> L (Matrix 1 4 a) Source #
type L (Matrix 2 1 a) :: Type Source #
toLinear :: Matrix 2 1 a -> L (Matrix 2 1 a) Source #
type L (Matrix 2 2 a) :: Type Source #
toLinear :: Matrix 2 2 a -> L (Matrix 2 2 a) Source #
type L (Matrix 2 3 a) :: Type Source #
toLinear :: Matrix 2 3 a -> L (Matrix 2 3 a) Source #
type L (Matrix 2 4 a) :: Type Source #
toLinear :: Matrix 2 4 a -> L (Matrix 2 4 a) Source #
type L (Matrix 3 1 a) :: Type Source #
toLinear :: Matrix 3 1 a -> L (Matrix 3 1 a) Source #
type L (Matrix 3 2 a) :: Type Source #
toLinear :: Matrix 3 2 a -> L (Matrix 3 2 a) Source #
type L (Matrix 3 3 a) :: Type Source #
toLinear :: Matrix 3 3 a -> L (Matrix 3 3 a) Source #
type L (Matrix 3 4 a) :: Type Source #
toLinear :: Matrix 3 4 a -> L (Matrix 3 4 a) Source #
type L (Matrix 4 1 a) :: Type Source #
toLinear :: Matrix 4 1 a -> L (Matrix 4 1 a) Source #
type L (Matrix 4 2 a) :: Type Source #
toLinear :: Matrix 4 2 a -> L (Matrix 4 2 a) Source #
type L (Matrix 4 3 a) :: Type Source #
toLinear :: Matrix 4 3 a -> L (Matrix 4 3 a) Source #
type L (Matrix 4 4 a) :: Type Source #
toLinear :: Matrix 4 4 a -> L (Matrix 4 4 a) Source #
type Vector n a = Matrix n 1 a Source #
size :: Integral b => Matrix m n a -> (b, b) Source #
value :: Matrix m n a -> [[a]] Source #