IsolatedRoot
Symbolica documentation for getting started, symbolic expressions, numerical evaluation, pattern matching, and APIs in Python and Rust.
IsolatedRoot
IsolatedRoot()A certified isolated root in the complex plane.
Attributes
| Name | Description |
|---|---|
center |
Center of the certified complex disk as exact real and imaginary parts. |
index |
Canonical index of this root within its defining polynomial. |
radius |
Radius of the certified complex disk. |
center
IsolatedRoot.center: tuple[Expression, Expression]Center of the certified complex disk as exact real and imaginary parts.
index
IsolatedRoot.index: intCanonical index of this root within its defining polynomial.
radius
IsolatedRoot.radius: ExpressionRadius of the certified complex disk.
Methods
| Name | Description |
|---|---|
__repr__ |
|
is_positive |
Determine whether this root lies on the positive real axis. |
location |
Resolve and cache the root’s relationship to the coordinate axes. |
refine |
Return a root whose cached enclosure has at most the requested radius. |
to_expression |
Convert this isolated root to an exact expression. |
__repr__
IsolatedRoot.__repr__() -> stris_positive
IsolatedRoot.is_positive() -> boolDetermine whether this root lies on the positive real axis.
location
IsolatedRoot.location() -> RootLocationResolve and cache the root’s relationship to the coordinate axes.
refine
IsolatedRoot.refine(tolerance: Float | float | Decimal) -> IsolatedRootReturn a root whose cached enclosure has at most the requested radius.
to_expression
IsolatedRoot.to_expression() -> ExpressionConvert this isolated root to an exact expression.