Class TestComplexMath

    • Constructor Detail

      • TestComplexMath

        public TestComplexMath()
    • Method Detail

      • testSqrt

        public void testSqrt()
        Test the square root function.
      • testCbrt

        public void testCbrt()
        Test the cube root function.
      • testExp

        public void testExp()
        Test the exponential function.
      • testLog

        public void testLog()
        Test the natural logarithm function.
      • testSinCosTan

        public void testSinCosTan()
        Test the sine, cosine and tangent functions.
      • testSinhCoshTanH

        public void testSinhCoshTanH()
        Test the sinh, cosh, tanh functions.
      • testAsinAcosAtan

        public void testAsinAcosAtan()
        Test the asin, acos and atan functions.
      • testAsinh

        public void testAsinh()
        Test the asinh function.
      • doubleAsinh

        public static double doubleAsinh​(double x)
        Copied from Forget Code asinh.
        Parameters:
        x - double; the argument
        Returns:
        double; the inverse hyperbolic cosine of x
      • doubleAcosh

        public static double doubleAcosh​(double x)
        Copied from Forget Code acosh.
        Parameters:
        x - double; the argument
        Returns:
        double; the inverse hyperbolic cosine of x
      • printComplex

        public static String printComplex​(Complex c)
        Parameters:
        c - Complex;
        Returns:
        String