Thom Smith
Thom Smith

Reputation: 14086

Is there a technical term for a function that takes one argument and returns an object of the same type?

I'm considering functions of one argument of type T that return an argument of type T. I seem to vaguely recall that there is a name for that sort of function, maybe homo-something. Is there such a term?

Upvotes: 4

Views: 366

Answers (1)

Thom Smith
Thom Smith

Reputation: 14086

After an hour-long wiki-crawl, it appears that an appropriate term would be "endofunction".

http://en.wikipedia.org/wiki/Endomorphism#Endofunctions_in_mathematics

Upvotes: 6

Related Questions