Class ComplexMath

    • Method Detail

      • sqrt

        public static Complex sqrt​(Complex z)
        Principal square root of a Complex operand. The principal square root of a complex number has a non-negative real component.
        Parameters:
        z - Complex; the operand
        Returns:
        Complex; the principal square root of the operand
      • cbrt

        public static Complex cbrt​(Complex z)
        Principal cube root of a Complex operand. The principal cube root of a complex number has the most positive. real component.
        Parameters:
        z - Complex; the operand
        Returns:
        Complex; the principal cube root of the operand
      • exp

        public static Complex exp​(Complex z)
        Exponential function of a Complex operand.
        Parameters:
        z - Complex; the operand
        Returns:
        Complex; the result of the exponential function applied to the operand
      • ln

        public static Complex ln​(Complex z)
        Principal value of the natural logarithm of a Complex operand. See Wikipedia Complex logarithm.
        Parameters:
        z - Complex; the operand
        Returns:
        Complex; the principal value of the natural logarithm of the Complex operand
      • sin

        public static Complex sin​(Complex z)
        Sine function of a Complex operand. See ProofWiki Sine of Complex Number.
        Parameters:
        z - Complex; the operand
        Returns:
        Complex; the result of the sine function applied to the operand
      • sinh

        public static Complex sinh​(Complex z)
        Hyperbolic sine function of a Complex operand.
        Parameters:
        z - Complex; the operand
        Returns:
        Complex; the result of the sinh function applied to the operand
      • cosh

        public static Complex cosh​(Complex z)
        Hyperbolic cosine function of Complex operand.
        Parameters:
        z - Complex; the operand
        Returns:
        Complex; the result of the cosh function applied to the operand
      • asin

        public static Complex asin​(Complex z)
        Inverse sine function of a Complex operand. Derived from NetBSD Complex casin.c.
        Parameters:
        z - Complex; the operand
        Returns:
        Complex; the result of the asin function applied to the operand
      • acos

        public static Complex acos​(Complex z)
        Inverse cosine function of a Complex operand. Derived from NetBSD Complex cacos.c.
        Parameters:
        z - Complex; the operand
        Returns:
        Complex; the result of the acos function applied to the operand
      • atan

        public static Complex atan​(Complex z)
        Inverse tangent function of a Complex operand. Derived from NetBSD Complex catan.c.
        Parameters:
        z - Complex; the operand
        Returns:
        Complex; the result of the atan function applied to the operand
      • asinh

        public static Complex asinh​(Complex z)
        Inverse hyperbolic sine of a Complex operand.
        Parameters:
        z - Complex; the operand
        Returns:
        Complex; the result of the asinh function applied to the operand
      • acosh

        public static Complex acosh​(Complex z)
        Inverse hyperbolic cosine of a Complex operand.
        Parameters:
        z - Complex; the operand
        Returns:
        Complex; the result of the acosh function applied to the operand
      • atanh

        public static Complex atanh​(Complex z)
        Inverse hyperbolic tangent of a Complex operand. Derived from NetBSD Complex catanh.c.
        Parameters:
        z - Complex; the operand
        Returns:
        Complex; the result of the atanh function applied to the operand