Function types

Linear function - iff f(ax+by)=af(x)+bf(y)

Affine fuction - linear function + some constant