numhask-0.3.0.0: numeric classes

Safe HaskellNone
LanguageHaskell2010

NumHask.Algebra.Abstract.TensorProduct

Description

TensorProduct

Synopsis

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

(><), timesleft, timesright

Methods

(><) :: a -> a -> a >< a infix 8 Source #

outer :: a -> a -> a >< a Source #

timesleft :: a -> (a >< a) -> a Source #

timesright :: (a >< a) -> a -> a Source #

type family (a :: k1) >< (b :: k2) :: * infix 8 Source #

tensorial type

Instances
type Double >< Double Source # 
Instance details

Defined in NumHask.Algebra.Abstract.TensorProduct

type Float >< Float Source # 
Instance details

Defined in NumHask.Algebra.Abstract.TensorProduct

type Int >< Int Source # 
Instance details

Defined in NumHask.Algebra.Abstract.TensorProduct

type Int >< Int = Int
type Int8 >< Int8 Source # 
Instance details

Defined in NumHask.Algebra.Abstract.TensorProduct

type Int8 >< Int8 = Int8
type Int16 >< Int16 Source # 
Instance details

Defined in NumHask.Algebra.Abstract.TensorProduct

type Int32 >< Int32 Source # 
Instance details

Defined in NumHask.Algebra.Abstract.TensorProduct

type Int64 >< Int64 Source # 
Instance details

Defined in NumHask.Algebra.Abstract.TensorProduct

type Integer >< Integer Source # 
Instance details

Defined in NumHask.Algebra.Abstract.TensorProduct

type Natural >< Natural Source # 
Instance details

Defined in NumHask.Algebra.Abstract.TensorProduct

type Word >< Word Source # 
Instance details

Defined in NumHask.Algebra.Abstract.TensorProduct

type Word >< Word = Word
type Word8 >< Word8 Source # 
Instance details

Defined in NumHask.Algebra.Abstract.TensorProduct

type Word16 >< Word16 Source # 
Instance details

Defined in NumHask.Algebra.Abstract.TensorProduct

type Word32 >< Word32 Source # 
Instance details

Defined in NumHask.Algebra.Abstract.TensorProduct

type Word64 >< Word64 Source # 
Instance details

Defined in NumHask.Algebra.Abstract.TensorProduct

type (r a :: Type) >< (b :: Type) Source # 
Instance details

Defined in NumHask.Algebra.Abstract.TensorProduct

type (r a :: Type) >< (b :: Type)