AlgebraicLetter

Symbolica documentation for getting started, symbolic expressions, numerical evaluation, pattern matching, and APIs in Python and Rust.

AlgebraicLetter

class AlgebraicLetter

Immutable 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: Expression

Discriminant of the defining polynomial.

index

AlgebraicLetter.index: builtins.int

Stable one-based index of this formal root pair.

integration_variable_index

AlgebraicLetter.integration_variable_index: builtins.int

Zero-based exact-context index of the integration variable that introduced this root pair.

leading_coefficient

AlgebraicLetter.leading_coefficient: Expression

Leading coefficient of the defining polynomial.

minus

AlgebraicLetter.minus: Expression

Native Symbolica expression for the minus root.

plus

AlgebraicLetter.plus: Expression

Native Symbolica expression for the plus root.

polynomial

AlgebraicLetter.polynomial: Expression

Defining polynomial for the quadratic root pair.

root_product

AlgebraicLetter.root_product: Expression

Product of the two formal roots.

root_sum

AlgebraicLetter.root_sum: Expression

Sum 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