Class ExpFunction

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

public class ExpFunction extends Object implements Function
The exp function.
See Also:
  • 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.
      Specified by:
      of in interface Function
    • acceptNumParam

      public boolean acceptNumParam(int numParam)
      Returns true only for 1 parameter, false otherwise.
      Specified by:
      acceptNumParam in interface Function
    • toString

      public String toString()
      Overrides:
      toString in class Object