QOpcUaDoubleComplexNumber#
The OPC UA DoubleComplexNumber type. More…
Synopsis#
Functions#
def
__eq__
(rhs)def
imaginary
()def
real
()def
setImaginary
(imaginary)def
setReal
(real)
Detailed Description#
The DoubleComplexNumberType defined in OPC-UA part 8, 5.6.5. It stores a complex number with double precision.
- class PySide6.QtOpcUa.QOpcUaDoubleComplexNumber#
PySide6.QtOpcUa.QOpcUaDoubleComplexNumber(arg__1)
PySide6.QtOpcUa.QOpcUaDoubleComplexNumber(real, imaginary)
- Parameters
real –
double
imaginary –
double
Constructs a double complex number with real part real
and imaginary part imaginary
.
- PySide6.QtOpcUa.QOpcUaDoubleComplexNumber.imaginary()#
- Return type
double
Returns the imaginary part of the complex number.
See also
- PySide6.QtOpcUa.QOpcUaDoubleComplexNumber.__eq__(rhs)#
- Parameters
- Return type
bool
Returns true
if this double complex number has the same value as rhs
.
- PySide6.QtOpcUa.QOpcUaDoubleComplexNumber.real()#
- Return type
double
Returns the real part of the complex number.
See also
- PySide6.QtOpcUa.QOpcUaDoubleComplexNumber.setImaginary(imaginary)#
- Parameters
imaginary –
double
Sets the imaginary part of the complex number to imaginary
.
See also
- PySide6.QtOpcUa.QOpcUaDoubleComplexNumber.setReal(real)#
- Parameters
real –
double
Sets the real part of the complex number to real
.
See also