#include <Objects.hxx>
Public Member Functions | |
virtual bool | accepts (PyObject *pyob) const |
Complex (double v=0.0, double w=0.0) | |
Complex (const Complex &f) | |
Complex (PyObject *pyob, bool owned=false) | |
double | imag () const |
operator Py_complex () const | |
Complex & | operator= (const Int &iob) |
Complex & | operator= (long v) |
Complex & | operator= (int v) |
Complex & | operator= (double v) |
Complex & | operator= (const Py_complex &v) |
Complex & | operator= (PyObject *rhsp) |
Complex & | operator= (const Object &rhs) |
double | real () const |
Definition at line 1007 of file Python2/Objects.hxx.
Py::Complex::Complex | ( | PyObject * | pyob, | |
bool | owned = false | |||
) | [inline, explicit] |
Definition at line 1011 of file Python2/Objects.hxx.
References validate.
Py::Complex::Complex | ( | const Complex & | f | ) | [inline] |
Definition at line 1016 of file Python2/Objects.hxx.
References validate.
Py::Complex::Complex | ( | double | v = 0.0 , |
|
double | w = 0.0 | |||
) | [inline, explicit] |
Definition at line 1022 of file Python2/Objects.hxx.
References validate.
virtual bool Py::Complex::accepts | ( | PyObject * | pyob | ) | const [inline, virtual] |
Reimplemented from Py::Object.
Definition at line 1040 of file Python2/Objects.hxx.
References Py::_Complex_Check().
double Py::Complex::imag | ( | ) | const [inline] |
Definition at line 1085 of file Python2/Objects.hxx.
Py::Complex::operator Py_complex | ( | ) | const [inline] |
Definition at line 1045 of file Python2/Objects.hxx.
Definition at line 1074 of file Python2/Objects.hxx.
Definition at line 1068 of file Python2/Objects.hxx.
Definition at line 1062 of file Python2/Objects.hxx.
Complex& Py::Complex::operator= | ( | double | v | ) | [inline] |
Definition at line 1056 of file Python2/Objects.hxx.
Complex& Py::Complex::operator= | ( | const Py_complex & | v | ) | [inline] |
Definition at line 1050 of file Python2/Objects.hxx.
Reimplemented from Py::Object.
Definition at line 1033 of file Python2/Objects.hxx.
Definition at line 1028 of file Python2/Objects.hxx.
double Py::Complex::real | ( | ) | const [inline] |
Definition at line 1080 of file Python2/Objects.hxx.