Class EFunction

java.lang.Object
com.graphbuilder.math.func.EFunction
All Implemented Interfaces:
Function

public class EFunction extends Object implements Function
Euler's number, e, also called the base of natural logarithms.
See Also:
  • Constructor Details

    • EFunction

      public EFunction()
  • Method Details

    • 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 String toString()
      Overrides:
      toString in class Object