edu.ucla.stat.SOCR.util
Interface MathFunction


public interface MathFunction

This interface should be implemented by classes which represent univariate mathematical functions. It is used to pass an arbitrary function of one variable as argument to another function. For example, it is used to find zeros of a function.


Method Summary
 double evaluate(double x)
          Returns the value of the function evaluated at x.
 

Method Detail

evaluate

double evaluate(double x)
Returns the value of the function evaluated at x.

Parameters:
x - value at which the distribution function is evaluated
Returns:
function evaluated at x