Safe Haskell | None |
---|---|
Language | Haskell2010 |
Algebra for Modules
Synopsis
- class Additive a => AdditiveAction m a | m -> a where
- class Subtractive a => SubtractiveAction m a | m -> a where
- class Multiplicative a => MultiplicativeAction m a | m -> a where
- class Divisive a => DivisiveAction m a | m -> a where
- class (Distributive a, MultiplicativeAction m a) => Module m a
Documentation
class Additive a => AdditiveAction m a | m -> a where Source #
Additive Action
class Subtractive a => SubtractiveAction m a | m -> a where Source #
Subtractive Action
class Multiplicative a => MultiplicativeAction m a | m -> a where Source #
Multiplicative Action
class Divisive a => DivisiveAction m a | m -> a where Source #
Divisive Action
class (Distributive a, MultiplicativeAction m a) => Module m a Source #
A Module
a .* one == a (a + b) .* c == (a .* c) + (b .* c) c *. (a + b) == (c *. a) + (c *. b) a .* zero == zero a .* b == b *. a