public abstract class TwoParamFunc extends java.lang.Object implements IFunction
Constructor and Description |
---|
TwoParamFunc() |
Modifier and Type | Method and Description |
---|---|
int |
getNumberOfParams()
This method returns the length of the parameters array that will be
passed to the run(IParameter[]) method.
For example, for a function like F(X, Y, Z), this function should return 3. |
abstract double |
run(IParameter[] p) |
public int getNumberOfParams()
IFunction
getNumberOfParams
in interface IFunction
public abstract double run(IParameter[] p)