{
    "content": [
        {
            "type": "text",
            "text": "# cmath (pydoc)\n\n**Summary:** cmath\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **DESCRIPTION** (3 lines)\n- **FUNCTIONS** (1 lines) — 23 subsections\n  - acos (2 lines)\n  - acosh (2 lines)\n  - asin (2 lines)\n  - asinh (2 lines)\n  - atan (2 lines)\n  - atanh (2 lines)\n  - cos (2 lines)\n  - cosh (2 lines)\n  - exp (2 lines)\n  - isclose (17 lines)\n  - isfinite (2 lines)\n  - isinf (2 lines)\n  - isnan (2 lines)\n  - log (4 lines)\n  - log10 (2 lines)\n  - phase (2 lines)\n  - polar (4 lines)\n  - rect (2 lines)\n  - sin (2 lines)\n  - sinh (2 lines)\n  - sqrt (2 lines)\n  - tan (2 lines)\n  - tanh (2 lines)\n- **DATA** (8 lines)\n- **FILE** (3 lines)\n\n## Full Content\n\n### NAME\n\ncmath\n\n### DESCRIPTION\n\nThis module provides access to mathematical functions for complex\nnumbers.\n\n### FUNCTIONS\n\n#### acos\n\nReturn the arc cosine of z.\n\n#### acosh\n\nReturn the inverse hyperbolic cosine of z.\n\n#### asin\n\nReturn the arc sine of z.\n\n#### asinh\n\nReturn the inverse hyperbolic sine of z.\n\n#### atan\n\nReturn the arc tangent of z.\n\n#### atanh\n\nReturn the inverse hyperbolic tangent of z.\n\n#### cos\n\nReturn the cosine of z.\n\n#### cosh\n\nReturn the hyperbolic cosine of z.\n\n#### exp\n\nReturn the exponential value ez.\n\n#### isclose\n\nDetermine whether two complex numbers are close in value.\n\nreltol\nmaximum difference for being considered \"close\", relative to the\nmagnitude of the input values\nabstol\nmaximum difference for being considered \"close\", regardless of the\nmagnitude of the input values\n\nReturn True if a is close in value to b, and False otherwise.\n\nFor the values to be considered close, the difference between them must be\nsmaller than at least one of the tolerances.\n\n-inf, inf and NaN behave similarly to the IEEE 754 Standard. That is, NaN is\nnot close to anything, even itself. inf and -inf are only close to themselves.\n\n#### isfinite\n\nReturn True if both the real and imaginary parts of z are finite, else False.\n\n#### isinf\n\nChecks if the real or imaginary part of z is infinite.\n\n#### isnan\n\nChecks if the real or imaginary part of z not a number (NaN).\n\n#### log\n\nlog(z[, base]) -> the logarithm of z to the given base.\n\nIf the base is not specified, returns the natural logarithm (base e) of z.\n\n#### log10\n\nReturn the base-10 logarithm of z.\n\n#### phase\n\nReturn argument, also known as the phase angle, of a complex.\n\n#### polar\n\nConvert a complex from rectangular coordinates to polar coordinates.\n\nr is the distance from 0 and phi the phase angle.\n\n#### rect\n\nConvert from polar coordinates to rectangular coordinates.\n\n#### sin\n\nReturn the sine of z.\n\n#### sinh\n\nReturn the hyperbolic sine of z.\n\n#### sqrt\n\nReturn the square root of z.\n\n#### tan\n\nReturn the tangent of z.\n\n#### tanh\n\nReturn the hyperbolic tangent of z.\n\n### DATA\n\ne = 2.718281828459045\ninf = inf\ninfj = infj\nnan = nan\nnanj = nanj\npi = 3.141592653589793\ntau = 6.283185307179586\n\n### FILE\n\n(built-in)\n\n"
        }
    ],
    "structuredContent": {
        "command": "cmath",
        "section": "",
        "mode": "pydoc",
        "summary": "cmath",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "FUNCTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "acos",
                        "lines": 2
                    },
                    {
                        "name": "acosh",
                        "lines": 2
                    },
                    {
                        "name": "asin",
                        "lines": 2
                    },
                    {
                        "name": "asinh",
                        "lines": 2
                    },
                    {
                        "name": "atan",
                        "lines": 2
                    },
                    {
                        "name": "atanh",
                        "lines": 2
                    },
                    {
                        "name": "cos",
                        "lines": 2
                    },
                    {
                        "name": "cosh",
                        "lines": 2
                    },
                    {
                        "name": "exp",
                        "lines": 2
                    },
                    {
                        "name": "isclose",
                        "lines": 17
                    },
                    {
                        "name": "isfinite",
                        "lines": 2
                    },
                    {
                        "name": "isinf",
                        "lines": 2
                    },
                    {
                        "name": "isnan",
                        "lines": 2
                    },
                    {
                        "name": "log",
                        "lines": 4
                    },
                    {
                        "name": "log10",
                        "lines": 2
                    },
                    {
                        "name": "phase",
                        "lines": 2
                    },
                    {
                        "name": "polar",
                        "lines": 4
                    },
                    {
                        "name": "rect",
                        "lines": 2
                    },
                    {
                        "name": "sin",
                        "lines": 2
                    },
                    {
                        "name": "sinh",
                        "lines": 2
                    },
                    {
                        "name": "sqrt",
                        "lines": 2
                    },
                    {
                        "name": "tan",
                        "lines": 2
                    },
                    {
                        "name": "tanh",
                        "lines": 2
                    }
                ]
            },
            {
                "name": "DATA",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "FILE",
                "lines": 3,
                "subsections": []
            }
        ]
    }
}