VariableType#

class ansys.pyensight.core.libuserd.VariableType(value)#

An enumeration.

Methods

VariableType.conjugate

Returns self, the complex conjugate of any int.

VariableType.bit_length(/)

Number of bits necessary to represent self in binary.

VariableType.bit_count(/)

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.

VariableType.as_integer_ratio(/)

Return integer ratio.

Attributes

VariableType.real

the real part of a complex number

VariableType.imag

the imaginary part of a complex number

VariableType.numerator

the numerator of a rational number in lowest terms

VariableType.denominator

the denominator of a rational number in lowest terms

VariableType.CONSTANT

VariableType.SCALAR

VariableType.VECTOR

VariableType.TENSOR

VariableType.TENSOR9

VariableType.UNKNOW_VAR_TYPE