numhask-0.3.0.0: numeric classes

Safe HaskellNone
LanguageHaskell2010

NumHask.Algebra.Abstract.Module

Description

Algebra for Modules

Synopsis

Documentation

class (Distributive (Actor h), Divisive h, MultiplicativeAction h) => Module h Source #

A Module over r a is a (Ring a), an abelian (Group r a) and an scalar-mult. (.*, *.) with the laws:

a .* one == a
(a + b) .* c == (a .* c) + (b .* c)
c *. (a + b) == (c *. a) + (c *. b)
a .* zero == zero
a .* b == b *. a