Liking cljdoc? Tell your friends :D

libpython-clj.jna.concrete.numeric.complex


PyComplex_AsCComplexclj

(PyComplex_AsCComplex op)

Return the Py_complex value of the complex number op.

If op is not a Python complex number object but has a complex() method, this method will first be called to convert op to a Python complex number object. Upon failure, this method returns -1.0 as a real value.

Return the Py_complex value of the complex number op.

If op is not a Python complex number object but has a __complex__() method, this
method will first be called to convert op to a Python complex number object. Upon
failure, this method returns -1.0 as a real value.
sourceraw docstring

PyComplex_Checkclj

(PyComplex_Check p)

Return true if its argument is a PyComplexObject or a subtype of PyComplexObject.

Return true if its argument is a PyComplexObject or a subtype of PyComplexObject.
sourceraw docstring

PyComplex_FromCComplexclj

(PyComplex_FromCComplex v)

Return value: New reference.

Create a new Python complex number object from a C Py_complex value.

Return value: New reference.

Create a new Python complex number object from a C Py_complex value.
sourceraw docstring

PyComplex_FromDoublesclj

(PyComplex_FromDoubles real imag)

Return value: New reference.

Return a new PyComplexObject object from real and imag.

Return value: New reference.

Return a new PyComplexObject object from real and imag.
sourceraw docstring

PyComplex_ImagAsDoubleclj

(PyComplex_ImagAsDouble op)

Return the imaginary part of op as a C double.

Return the imaginary part of op as a C double.
sourceraw docstring

PyComplex_RealAsDoubleclj

(PyComplex_RealAsDouble op)

Return the real part of op as a C double.

Return the real part of op as a C double.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close