com.graphbuilder.math.func
Class EFunction
java.lang.Object
com.graphbuilder.math.func.EFunction
- All Implemented Interfaces:
- Function
- public class EFunction
- extends java.lang.Object
- implements Function
Euler's number, e, also called the base of natural logarithms.
- See Also:
Math.E
Method Summary |
boolean |
acceptNumParam(int numParam)
Returns true only for 0 parameters, false otherwise. |
double |
of(double[] d,
int numParam)
Returns the constant e regardless of the input. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EFunction
public EFunction()
of
public double of(double[] d,
int numParam)
- Returns the constant e regardless of the input.
- Specified by:
of
in interface Function
acceptNumParam
public boolean acceptNumParam(int numParam)
- Returns true only for 0 parameters, false otherwise.
- Specified by:
acceptNumParam
in interface Function
toString
public java.lang.String toString()