ScopeExpressionType
Last update: 17.07.2025class ansys.meshing.prime.ScopeExpressionType(value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None)
ScopeExpressionType uses expression type to evaluate the scope.
Methods
| Name | Description |
|---|---|
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 a pair of integers, whose ratio is equal to the original int. |
ScopeExpressionType.is_integer(/) |
Returns True. |
Attributes
| Name | Description |
|---|---|
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. |