Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Linear maps as "row-major" functor compositions
Documentation
($*) :: forall s a b. (Zip a, Foldable a, Functor b, Num s) => (a :-* b) s -> a s -> b s infixr 9 Source #
lapplyL :: forall s a b. (Zip a, Foldable a, Functor b, Num s) => (a :-* b) s -> a s -> b s Source #
compL :: (Zip a, Zip b, Zeroable a, Foldable b, Functor c, Num s) => (b :-* c) s -> (a :-* b) s -> (a :-* c) s Source #
crossL :: (Zeroable a, Zeroable b, Zeroable c, Zeroable d, Num s, Zip c, Zip d) => (a :-* c) s -> (b :-* d) s -> ((a :*: b) :-* (c :*: d)) s Source #