dwvisser.statistics
Class LinearFunction
java.lang.Object
|
+--dwvisser.statistics.LinearFunction
- All Implemented Interfaces:
- Function, UncertainFunction
- public class LinearFunction
- extends java.lang.Object
- implements UncertainFunction
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinearFunction
public LinearFunction(UncertainNumber a,
UncertainNumber b,
double delx)
LinearFunction
public LinearFunction(double a,
double siga,
double b,
double sigb,
double delx)
LinearFunction
public LinearFunction(double a,
double b,
double delx)
evaluate
public UncertainNumber evaluate(UncertainNumber[] x)
throws StatisticsException
- Given an array of uncertain numbers, return back a function value.
- Specified by:
evaluate
in interface UncertainFunction
StatisticsException
valueAt
public double valueAt(double x)
- Description copied from interface:
Function
- Evaluate the function.
- Specified by:
valueAt
in interface Function
- Returns:
- value of the function at x