File indexing completed on 2024-05-12 08:36:13

0001 # AUTO-GENERATED FILE -- DO NOT EDIT
0002 
0003 """ This module is always available. It provides access to mathematical
0004 functions for complex numbers. """
0005 
0006 __package__ = None
0007 
0008 def acos(x):
0009   """ acos(x)
0010   
0011   Return the arc cosine of x. """
0012   pass
0013 
0014 def acosh(x):
0015   """ acosh(x)
0016   
0017   Return the hyperbolic arccosine of x. """
0018   pass
0019 
0020 def asin(x):
0021   """ asin(x)
0022   
0023   Return the arc sine of x. """
0024   pass
0025 
0026 def asinh(x):
0027   """ asinh(x)
0028   
0029   Return the hyperbolic arc sine of x. """
0030   pass
0031 
0032 def atan(x):
0033   """ atan(x)
0034   
0035   Return the arc tangent of x. """
0036   pass
0037 
0038 def atanh(x):
0039   """ atanh(x)
0040   
0041   Return the hyperbolic arc tangent of x. """
0042   pass
0043 
0044 def cos(x):
0045   """ cos(x)
0046   
0047   Return the cosine of x. """
0048   pass
0049 
0050 def cosh(x):
0051   """ cosh(x)
0052   
0053   Return the hyperbolic cosine of x. """
0054   pass
0055 
0056 e = 2.71828182846
0057 
0058 def exp(x):
0059   """ exp(x)
0060   
0061   Return the exponential value e**x. """
0062   pass
0063 
0064 def isinf(z):
0065   """ isinf(z) -> bool
0066   Checks if the real or imaginary part of z is infinite. """
0067   return None
0068 
0069 def isnan(z):
0070   """ isnan(z) -> bool
0071   Checks if the real or imaginary part of z not a number (NaN) """
0072   return None
0073 
0074 def log(x, base=None):
0075   """ log(x[, base]) -> the logarithm of x to the given base.
0076   If the base not specified, returns the natural logarithm (base e) of x. """
0077   return None
0078 
0079 def log10(x):
0080   """ log10(x)
0081   
0082   Return the base-10 logarithm of x. """
0083   pass
0084 
0085 def phase(z):
0086   """ phase(z) -> float
0087   
0088   Return argument, also known as the phase angle, of a complex. """
0089   return 1.0
0090 
0091 pi = 3.14159265359
0092 
0093 def polar(z):
0094   """ polar(z) -> r: float, phi: float
0095   
0096   Convert a complex from rectangular coordinates to polar coordinates. r is
0097   the distance from 0 and phi the phase angle. """
0098   return 1.0
0099 
0100 def rect(r, phi):
0101   """ rect(r, phi) -> z: complex
0102   
0103   Convert from polar coordinates to rectangular coordinates. """
0104   return None
0105 
0106 def sin(x):
0107   """ sin(x)
0108   
0109   Return the sine of x. """
0110   pass
0111 
0112 def sinh(x):
0113   """ sinh(x)
0114   
0115   Return the hyperbolic sine of x. """
0116   pass
0117 
0118 def sqrt(x):
0119   """ sqrt(x)
0120   
0121   Return the square root of x. """
0122   pass
0123 
0124 def tan(x):
0125   """ tan(x)
0126   
0127   Return the tangent of x. """
0128   pass
0129 
0130 def tanh(x):
0131   """ tanh(x)
0132   
0133   Return the hyperbolic tangent of x. """
0134   pass
0135