Package jsl.utilities.math
Class TestFunction
- java.lang.Object
-
- jsl.utilities.math.TestFunction
-
- All Implemented Interfaces:
FunctionIfc
public class TestFunction extends java.lang.Object implements FunctionIfc
-
-
Constructor Summary
Constructors Constructor Description TestFunction()
Creates a new instance of TestFunction
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
fx(double x)
Returns the value of the function for the specified variable value.
-
-
-
Method Detail
-
fx
public double fx(double x)
Returns the value of the function for the specified variable value.- Specified by:
fx
in interfaceFunctionIfc
- Parameters:
x
- the input value- Returns:
- the function value
-
-