deimos.python.complexobject

Mirror complexobject.h

Members

Functions

PyComplex_AsCComplex
Py_complex PyComplex_AsCComplex(PyObject* op)

_

PyComplex_Check
int PyComplex_Check(PyObject* op)

_

PyComplex_CheckExact
int PyComplex_CheckExact(PyObject* op)

_

PyComplex_FromCComplex
PyObject* PyComplex_FromCComplex(Py_complex )

_

PyComplex_FromDoubles
PyObject* PyComplex_FromDoubles(double real_, double imag)

_

PyComplex_ImagAsDouble
double PyComplex_ImagAsDouble(PyObject* op)

_

PyComplex_RealAsDouble
double PyComplex_RealAsDouble(PyObject* op)

_

_PyComplex_FormatAdvanced
PyObject* _PyComplex_FormatAdvanced(PyObject* obj, Py_UNICODE* format_spec, Py_ssize_t format_spec_len)

Availability: 3.*

_PyComplex_FormatAdvanced
PyObject* _PyComplex_FormatAdvanced(PyObject* obj, char* format_spec, Py_ssize_t format_spec_len)

Format the object based on the format_spec, as defined in PEP 3101 Availability: >= 2.6 (Advanced String Formatting).

_Py_c_abs
double _Py_c_abs(Py_complex )

Availability: >= 2.6

_Py_c_diff
Py_complex _Py_c_diff(Py_complex , Py_complex )

_

_Py_c_neg
Py_complex _Py_c_neg(Py_complex )

_

_Py_c_pow
Py_complex _Py_c_pow(Py_complex , Py_complex )

_

_Py_c_prod
Py_complex _Py_c_prod(Py_complex , Py_complex )

_

_Py_c_quot
Py_complex _Py_c_quot(Py_complex , Py_complex )

_

_Py_c_sum
Py_complex _Py_c_sum(Py_complex , Py_complex )

_

Structs

PyComplexObject
struct PyComplexObject

PyComplexObject represents a complex number with double-precision real and imaginary parts.

Py_complex
struct Py_complex

_

Meta