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