linear-1.20.7: Linear Algebra

Linear.Algebra

Description

Synopsis

# Documentation

class Num r => Algebra r m where #

An associative unital algebra over a ring

Minimal complete definition

Methods

mult :: (m -> m -> r) -> m -> r #

unital :: r -> m -> r #

Instances

 Num r => Algebra r () # Methodsmult :: (() -> () -> r) -> () -> r #unital :: r -> () -> r # Num r => Algebra r Void # Methodsmult :: (Void -> Void -> r) -> Void -> r #unital :: r -> Void -> r # (Num r, TrivialConjugate r) => Algebra r (E Quaternion) # Methodsmult :: (E Quaternion -> E Quaternion -> r) -> E Quaternion -> r #unital :: r -> E Quaternion -> r # Num r => Algebra r (E Complex) # Methodsmult :: (E Complex -> E Complex -> r) -> E Complex -> r #unital :: r -> E Complex -> r # Num r => Algebra r (E V1) # Methodsmult :: (E V1 -> E V1 -> r) -> E V1 -> r #unital :: r -> E V1 -> r # Num r => Algebra r (E V0) # Methodsmult :: (E V0 -> E V0 -> r) -> E V0 -> r #unital :: r -> E V0 -> r # (Algebra r a, Algebra r b) => Algebra r (a, b) # Methodsmult :: ((a, b) -> (a, b) -> r) -> (a, b) -> r #unital :: r -> (a, b) -> r #

class Num r => Coalgebra r m where #

A coassociative counital coalgebra over a ring

Minimal complete definition

Methods

comult :: (m -> r) -> m -> m -> r #

counital :: (m -> r) -> r #

Instances

 Num r => Coalgebra r () # Methodscomult :: (() -> r) -> () -> () -> r #counital :: (() -> r) -> r # Num r => Coalgebra r Void # Methodscomult :: (Void -> r) -> Void -> Void -> r #counital :: (Void -> r) -> r # (Num r, TrivialConjugate r) => Coalgebra r (E Quaternion) # Methodscomult :: (E Quaternion -> r) -> E Quaternion -> E Quaternion -> r #counital :: (E Quaternion -> r) -> r # Num r => Coalgebra r (E Complex) # Methodscomult :: (E Complex -> r) -> E Complex -> E Complex -> r #counital :: (E Complex -> r) -> r # Num r => Coalgebra r (E V4) # Methodscomult :: (E V4 -> r) -> E V4 -> E V4 -> r #counital :: (E V4 -> r) -> r # Num r => Coalgebra r (E V3) # Methodscomult :: (E V3 -> r) -> E V3 -> E V3 -> r #counital :: (E V3 -> r) -> r # Num r => Coalgebra r (E V2) # Methodscomult :: (E V2 -> r) -> E V2 -> E V2 -> r #counital :: (E V2 -> r) -> r # Num r => Coalgebra r (E V1) # Methodscomult :: (E V1 -> r) -> E V1 -> E V1 -> r #counital :: (E V1 -> r) -> r # Num r => Coalgebra r (E V0) # Methodscomult :: (E V0 -> r) -> E V0 -> E V0 -> r #counital :: (E V0 -> r) -> r # (Coalgebra r m, Coalgebra r n) => Coalgebra r (m, n) # Methodscomult :: ((m, n) -> r) -> (m, n) -> (m, n) -> r #counital :: ((m, n) -> r) -> r #

multRep :: (Representable f, Algebra r (Rep f)) => f (f r) -> f r #

unitalRep :: (Representable f, Algebra r (Rep f)) => r -> f r #

comultRep :: (Representable f, Coalgebra r (Rep f)) => f r -> f (f r) #

counitalRep :: (Representable f, Coalgebra r (Rep f)) => f r -> r #