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: int

Canonical index of this root within its defining polynomial.

radius

IsolatedRoot.radius: Expression

Radius 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__() -> str

is_positive

IsolatedRoot.is_positive() -> bool

Determine whether this root lies on the positive real axis.

location

IsolatedRoot.location() -> RootLocation

Resolve and cache the root’s relationship to the coordinate axes.

refine

IsolatedRoot.refine(tolerance: Float | float | Decimal) -> IsolatedRoot

Return a root whose cached enclosure has at most the requested radius.

to_expression

IsolatedRoot.to_expression() -> Expression

Convert this isolated root to an exact expression.