source: trunk/essentials/dev-lang/python/Doc/lib/libcmath.tex@ 3368

Last change on this file since 3368 was 3225, checked in by bird, 19 years ago

Python 2.5

File size: 4.8 KB
Line 
1\section{\module{cmath} ---
2 Mathematical functions for complex numbers}
3
4\declaremodule{builtin}{cmath}
5\modulesynopsis{Mathematical functions for complex numbers.}
6
7This module is always available. It provides access to mathematical
8functions for complex numbers. The functions are:
9
10\begin{funcdesc}{acos}{x}
11Return the arc cosine of \var{x}.
12There are two branch cuts:
13One extends right from 1 along the real axis to \infinity, continuous
14from below.
15The other extends left from -1 along the real axis to -\infinity,
16continuous from above.
17\end{funcdesc}
18
19\begin{funcdesc}{acosh}{x}
20Return the hyperbolic arc cosine of \var{x}.
21There is one branch cut, extending left from 1 along the real axis
22to -\infinity, continuous from above.
23\end{funcdesc}
24
25\begin{funcdesc}{asin}{x}
26Return the arc sine of \var{x}.
27This has the same branch cuts as \function{acos()}.
28\end{funcdesc}
29
30\begin{funcdesc}{asinh}{x}
31Return the hyperbolic arc sine of \var{x}.
32There are two branch cuts, extending left from \plusminus\code{1j} to
33\plusminus-\infinity\code{j}, both continuous from above.
34These branch cuts should be considered a bug to be corrected in a
35future release.
36The correct branch cuts should extend along the imaginary axis,
37one from \code{1j} up to \infinity\code{j} and continuous from the
38right, and one from -\code{1j} down to -\infinity\code{j} and
39continuous from the left.
40\end{funcdesc}
41
42\begin{funcdesc}{atan}{x}
43Return the arc tangent of \var{x}.
44There are two branch cuts: