VariableType#
- class ansys.pyensight.core.libuserd.VariableType(value)#
An enumeration.
Methods
Returns self, the complex conjugate of any int.
Number of bits necessary to represent self in binary.
Number of ones in the binary representation of the absolute value of self.
VariableType.to_bytes
(/, length, byteorder, *)Return an array of bytes representing an integer.
VariableType.from_bytes
(/, bytes, byteorder, *)Return the integer represented by the given array of bytes.
Return integer ratio.
Attributes
the real part of a complex number
the imaginary part of a complex number
the numerator of a rational number in lowest terms
the denominator of a rational number in lowest terms