Safe Haskell | None |
---|---|
Language | Haskell2010 |
NumHask.Algebra.Abstract.TensorProduct
Description
TensorProduct
Synopsis
- class TensorProduct a where
- class TensorProduct' a b where
- outer' :: a -> b -> a >< b
- timesleft' :: a -> (a >< b) -> b
- timesright' :: (a >< b) -> a -> b
- type family (a :: k1) >< (b :: k2) :: *
Documentation
class TensorProduct a where Source #
generalised outer product
a><b + c><b == (a+c) >< b a><b + a><c == a >< (b+c) a *. (b><c) == (a><b) .* c (a><b) .* c == a *. (b><c)
Minimal complete definition
class TensorProduct' a b where Source #
generalised outer product
a><b + c><b == (a+c) >< b a><b + a><c == a >< (b+c) a *. (b><c) == (a><b) .* c (a><b) .* c == a *. (b><c)
type family (a :: k1) >< (b :: k2) :: * infix 8 Source #
tensorial type