Linear Relations and Functions