Discrete Mathematics using a Comptuter (O’Donnell, Hall, Page) Chapter 11
Discrete Mathematics with Applications - Metric Edition (Epp) Chapter 7
The Haskell Road to Logic, Math and Programming (Doets, van Eijck) 6
https://runestone.academy/ns/books/published/dmoi-4/sec_structures-functions.html
https://runestone.academy/ns/books/published/ads/chapter_6.html
https://runestone.academy/ns/books/published/ads/s-basic-definitions.html
https://runestone.academy/ns/books/published/ads/s-graphs-of-relations-on-a-set.html
https://runestone.academy/ns/books/published/ads/s-properties-of-relations.html
https://runestone.academy/ns/books/published/ads/s-matrices-of-relations.html
https://runestone.academy/ns/books/published/ads/s-closure-operations-on-relations.html
https://runestone.academy/ns/books/published/DiscreteMathText/chapter7.html
https://runestone.academy/ns/books/published/DiscreteMathText/functions7-1.html
https://runestone.academy/ns/books/published/DiscreteMathText/onetooneonto7-2.html
https://en.wikipedia.org/wiki/Function_(mathematics)
https://en.wikipedia.org/wiki/Function_(computer_programming)
How are these similar, and how are they different?