public class cmath
extends java.lang.Object
Constructor and Description |
---|
cmath() |
Modifier and Type | Method and Description |
---|---|
static PyObject |
acos(PyObject in) |
static PyComplex |
acosh(PyObject in) |
static PyComplex |
asin(PyObject in) |
static PyComplex |
asinh(PyObject in) |
static PyComplex |
atan(PyObject in) |
static PyComplex |
atanh(PyObject in) |
static PyComplex |
cos(PyObject in) |
static PyComplex |
cosh(PyObject in) |
static PyComplex |
exp(PyObject in) |
static boolean |
isinf(PyObject in) |
static boolean |
isnan(PyObject in) |
static PyComplex |
log(PyComplex x,
double base) |
static PyComplex |
log(PyObject in) |
static PyComplex |
log(PyObject in,
PyObject base) |
static PyComplex |
log10(PyObject in) |
static double |
phase(PyObject in) |
static PyTuple |
polar(PyObject in) |
static PyComplex |
rect(double r,
double phi) |
static PyComplex |
sin(PyObject in) |
static PyComplex |
sinh(PyObject in) |
static PyComplex |
sqrt(PyObject in) |
static PyComplex |
tan(PyObject in) |
static PyComplex |
tanh(PyObject in) |
public static double phase(PyObject in)
public static PyComplex rect(double r, double phi)
public static boolean isinf(PyObject in)
in
- true
if in.real or in.imag is positive or negative
infinitypublic static boolean isnan(PyObject in)
in
- true
if in.real or in.imag is nan.