Class AcoshFunction

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

public class AcoshFunction extends Object implements Function
The hyperbolic arc cosine function.
  • Constructor Details

    • AcoshFunction

      public AcoshFunction()
  • Method Details

    • of

      public double of(double[] d, int numParam)
      Returns the value of 2 * ln(sqrt((x+1)/2) + sqrt((x-1)/2)), where x is 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