An object that provides utilities for working with nth root expressions. Specifically, it allows for the deconstruction and extraction of components from expressions that match specific root-related patterns.
Extracts components of an expression that matches specific root-related patterns.
Extracts components of an expression that matches specific root-related patterns.
Value parameters
expr
The expression to be examined for matches.
Attributes
Returns
An optional tuple containing components of the matched expression: - The Eager operand of the root expression. - The integer degree of the root. - The integer branch adjustment factor. Returns None if the expression does not match the expected patterns.