Class ArcCosH


  • public class ArcCosH
    extends Object
    Inverse hyperbolic cosinus function.
    Author:
    Tilman Neumann
    • Constructor Detail

      • ArcCosH

        public ArcCosH()
    • Method Detail

      • acoshAbs

        public static BigDecimal acoshAbs​(BigDecimal x,
                                          Scale scale)
        The absolute value of acosh(x) implemented by ln() formula.
        Parameters:
        x - real argument >= 1
        scale - wanted accuracy in after-comma digits
        Returns:
        positive value acosh(x), the negation is the second solution
      • acosh1

        public static BigDecimal acosh1​(BigDecimal x,
                                        Scale scale)
        Computes the "++" branch of acosh(x) = + ln(x + sqrt(x^2-1)).
        Parameters:
        x - real argument >= 1
        scale -
        Returns:
        "++" branch of acosh(x)