f

abstract fun f(x: DoubleArray): Double

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