Modules
A module is an algebraic structure consisting of an abelian group under addition together with a compatible action by a ring. More precisely, if R is a ring and M is an abelian group, M is an R-module if there is a scalar multiplication R x M -> M satisfying (r+s)m = rm + sm, r(m+n) = rm + rn, (rs)m = r(sm), and 1m = m when R has a multiplicative identity. Submodules are subgroups closed under scalar multiplication. Quotients, homomorphisms, and exact sequences parallel those for vector spaces. Examples include abelian groups viewed as Z-modules, and vector spaces as modules over their base field. Free modules generalize bases to modules; modules over polynomial rings or other rings give rise to structure theorems, such as the classification of finitely generated modules over a principal ideal domain, and the decomposition into torsion and free parts.
In software engineering, a module is a self-contained unit that groups related functionality behind a defined
In hardware and systems engineering, modules refer to self-contained units that implement a specific function and