Answer:
No and yes. it depends on what type of function you are looking for this will be a Linear Function.