AlgebraicLetter
Symbolica documentation for getting started, symbolic expressions, numerical evaluation, pattern matching, and APIs in Python and Rust.
AlgebraicLetter
class AlgebraicLetterImmutable metadata for one formal quadratic-root pair allocated by an integration.
Attributes
| Name | Description |
|---|---|
discriminant |
Discriminant of the defining polynomial. |
index |
Stable one-based index of this formal root pair. |
integration_variable_index |
Zero-based exact-context index of the integration variable that introduced this root pair. |
leading_coefficient |
Leading coefficient of the defining polynomial. |
minus |
Native Symbolica expression for the minus root. |
plus |
Native Symbolica expression for the plus root. |
polynomial |
Defining polynomial for the quadratic root pair. |
root_product |
Product of the two formal roots. |
root_sum |
Sum of the two formal roots. |
discriminant
AlgebraicLetter.discriminant: ExpressionDiscriminant of the defining polynomial.
index
AlgebraicLetter.index: builtins.intStable one-based index of this formal root pair.
integration_variable_index
AlgebraicLetter.integration_variable_index: builtins.intZero-based exact-context index of the integration variable that introduced this root pair.
leading_coefficient
AlgebraicLetter.leading_coefficient: ExpressionLeading coefficient of the defining polynomial.
minus
AlgebraicLetter.minus: ExpressionNative Symbolica expression for the minus root.
plus
AlgebraicLetter.plus: ExpressionNative Symbolica expression for the plus root.
polynomial
AlgebraicLetter.polynomial: ExpressionDefining polynomial for the quadratic root pair.
root_product
AlgebraicLetter.root_product: ExpressionProduct of the two formal roots.
root_sum
AlgebraicLetter.root_sum: ExpressionSum of the two formal roots.
Methods
| Name | Description |
|---|---|
__copy__ |
|
__deepcopy__ |
|
__repr__ |
__copy__
AlgebraicLetter.__copy__() -> AlgebraicLetter__deepcopy__
AlgebraicLetter.__deepcopy__(_memo: typing.Any) -> AlgebraicLetter__repr__
AlgebraicLetter.__repr__() -> builtins.str