@@ -38,6 +38,57 @@ the function is then applied to the result of the conversion.
38
38
1.4142135623730951j
39
39
40
40
41
+ ==================================================== ============================================
42
+ **Conversions to and from polar coordinates **
43
+ --------------------------------------------------------------------------------------------------
44
+ :func: `phase(z) <phase> ` Return the phase of *z *
45
+ :func: `polar(z) <polar> ` Return the representation of *z * in polar coordinates
46
+ :func: `rect(r, phi) <rect> ` Return the complex number *z * with polar coordinates *r * and *phi *
47
+
48
+ **Power and logarithmic functions **
49
+ --------------------------------------------------------------------------------------------------
50
+ :func: `exp(z) <exp> ` Return *e * raised to the power *z *
51
+ :func: `log(z[, base]) <log> ` Return the logarithm of *z * to the given *base * (*e * by default)
52
+ :func: `log10(z) <log10> ` Return the base-10 logarithm of *z *
53
+ :func: `sqrt(z) <sqrt> ` Return the square root of *z *
54
+
55
+ **Trigonometric functions **
56
+ --------------------------------------------------------------------------------------------------
57
+ :func: `acos(z) <acos> ` Return the arc cosine of *z *
58
+ :func: `asin(z) <asin> ` Return the arc sine of *z *
59
+ :func: `atan(z) <atan> ` Return the arc tangent of *z *
60
+ :func: `cos(z) <cos> ` Return the cosine of *z *
61
+ :func: `sin(z) <sin> ` Return the sine of *z *
62
+ :func: `tan(z) <tan> ` Return the tangent of *z *
63
+
64
+ **Hyperbolic functions **
65
+ --------------------------------------------------------------------------------------------------
66
+ :func: `acosh(z) <acosh> ` Return the inverse hyperbolic cosine of *z *
67
+ :func: `asinh(z) <asinh> ` Return the inverse hyperbolic sine of *z *
68
+ :func: `atanh(z) <atanh> ` Return the inverse hyperbolic tangent of *z *
69
+ :func: `cosh(z) <cosh> ` Return the hyperbolic cosine of *z *
70
+ :func: `sinh(z) <sinh> ` Return the hyperbolic sine of *z *
71
+ :func: `tanh(z) <tanh> ` Return the hyperbolic tangent of *z *
72
+
73
+ **Classification functions **
74
+ --------------------------------------------------------------------------------------------------
75
+ :func: `isfinite(z) <isfinite> ` Check if all components of *z * are finite
76
+ :func: `isinf(z) <isinf> ` Check if any component of *z * is infinite
77
+ :func: `isnan(z) <isnan> ` Check if any component of *z * is a NaN
78
+ :func: `isclose(a, b, *, rel_tol, abs_tol) <isclose> ` Check if the values *a * and *b * are close to each other
79
+
80
+ **Constants **
81
+ --------------------------------------------------------------------------------------------------
82
+ :data: `pi ` *π * = 3.141592...
83
+ :data: `e ` *e * = 2.718281...
84
+ :data: `tau ` *τ * = 2\ *π * = 6.283185...
85
+ :data: `inf ` Positive infinity
86
+ :data: `infj ` Pure imaginary infinity
87
+ :data: `nan ` "Not a number" (NaN)
88
+ :data: `nanj ` Pure imaginary NaN
89
+ ==================================================== ============================================
90
+
91
+
41
92
Conversions to and from polar coordinates
42
93
-----------------------------------------
43
94
0 commit comments