ScopeExpressionType#

class ansys.meshing.prime.ScopeExpressionType(value)#

ScopeExpressionType uses expression type to evaluate the scope.

Methods

ScopeExpressionType.conjugate

Returns self, the complex conjugate of any int.

ScopeExpressionType.bit_length(/)

Number of bits necessary to represent self in binary.

ScopeExpressionType.bit_count(/)

Number of ones in the binary representation of the absolute value of self.

ScopeExpressionType.to_bytes(/, length, ...)

Return an array of bytes representing an integer.

ScopeExpressionType.from_bytes(/, bytes, ...)

Return the integer represented by the given array of bytes.

ScopeExpressionType.as_integer_ratio(/)

Return integer ratio.

Attributes

ScopeExpressionType.real

the real part of a complex number

ScopeExpressionType.imag

the imaginary part of a complex number

ScopeExpressionType.numerator

the numerator of a rational number in lowest terms

ScopeExpressionType.denominator

the denominator of a rational number in lowest terms

ScopeExpressionType.NAMEPATTERN

Use name pattern expression to evaluate scope.