Package com.graphbuilder.math.func
Class PowFunction
java.lang.Object
com.graphbuilder.math.func.PowFunction
- All Implemented Interfaces:
Function
The power function.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptNumParam(int numParam) Returns true only for 2 parameters, false otherwise.doubleof(double[] d, int numParam) Returns the value at index location 0 to the exponent of the value at index location 1.toString()
-
Constructor Details
-
PowFunction
public PowFunction()
-
-
Method Details
-
of
public double of(double[] d, int numParam) Returns the value at index location 0 to the exponent of the value at index location 1. -
acceptNumParam
public boolean acceptNumParam(int numParam) Returns true only for 2 parameters, false otherwise.- Specified by:
acceptNumParamin interfaceFunction
-
toString
-