🔁 What is an endomorphism in general?
In mathematics, an endomorphism is a function from a space to itself that preserves the structure of that space.
- For a group, it’s a group homomorphism \(f: G \rightarrow G\)
- For a vector space, it’s a linear map \(f: V \rightarrow V\)
- For


