Package com.graphbuilder.math.func
Class EFunction
java.lang.Object
com.graphbuilder.math.func.EFunction
- All Implemented Interfaces:
Function
Euler's number, e, also called the base of natural logarithms.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptNumParam(int numParam) Returns true only for 0 parameters, false otherwise.doubleof(double[] d, int numParam) Returns the constant e regardless of the input.toString()
-
Constructor Details
-
EFunction
public EFunction()
-
-
Method Details
-
of
public double of(double[] d, int numParam) Returns the constant e regardless of the input. -
acceptNumParam
public boolean acceptNumParam(int numParam) Returns true only for 0 parameters, false otherwise.- Specified by:
acceptNumParamin interfaceFunction
-
toString
-