SolutionCondition
Symbolica documentation for getting started, symbolic expressions, numerical evaluation, pattern matching, and APIs in Python and Rust.
SolutionCondition
SolutionCondition()A formula or domain restriction under which a solution branch is valid.
Attributes
| Name | Description |
|---|---|
domain |
The required domain for a domain-membership condition, otherwise None. |
formula |
The symbolic condition, or None for a domain-membership restriction. |
kind |
The restriction type: "formula" or "domain_membership". |
value |
The expression restricted by a domain-membership condition, otherwise None. |
variable |
The variable restricted by a domain-membership condition, otherwise None. |
domain
SolutionCondition.domain: SolveDomain | NoneThe required domain for a domain-membership condition, otherwise None.
formula
SolutionCondition.formula: Condition | NoneThe symbolic condition, or None for a domain-membership restriction.
kind
SolutionCondition.kind: Literal['formula', 'domain_membership']The restriction type: "formula" or "domain_membership".
value
SolutionCondition.value: Expression | NoneThe expression restricted by a domain-membership condition, otherwise None.
variable
SolutionCondition.variable: Expression | NoneThe variable restricted by a domain-membership condition, otherwise None.
Methods
| Name | Description |
|---|---|
__repr__ |
|
_repr_html_ |
__repr__
SolutionCondition.__repr__() -> str_repr_html_
SolutionCondition._repr_html_() -> str