Class Atanh


public class Atanh extends PrimitiveFunction
Computes the inverse hyperbolic tangent.
  • Constructor Details

    • Atanh

      public Atanh()
  • Method Details

    • name

      public Name name()
      Gets the name of this primitive function.
      Specified by:
      name in class PrimitiveFunction
      Returns:
      the function name
    • type

      public TypeScheme type()
      Gets the type scheme for this function.
      Specified by:
      type in class PrimitiveFunction
      Returns:
      the type scheme
    • implementation

      protected Function<List<Term>,Flow<Graph,Term>> implementation()
      Provides the implementation of this function.
      Specified by:
      implementation in class PrimitiveFunction
      Returns:
      a function that maps terms to a flow of terms
    • apply

      public static Double apply(Double x)
      Computes the inverse hyperbolic tangent.
      Parameters:
      x - the value
      Returns:
      the inverse hyperbolic tangent