the expected size of the array
Returns the value of the function for the specified variable value. The implementor of f(x) should check if the array size is the same as the dimension of the function