endofunktor
An endofunktor is a functor from a category to itself in category theory. It assigns to every object A in a category C an object F(A) in C and to every morphism f: A → B a morphism F(f): F(A) → F(B). It preserves identities and composition: F(id_A) = id_{F(A)} and F(g ∘ f) = F(g) ∘ F(f) for composable morphisms. Because its domain and codomain are the same category, F is called an endofunctor.
Common examples include the identity functor Id_C, which maps every object and morphism to itself; the constant
Endofunctors can be composed to form new endofunctors, and their iterates F^n provide a way to build