PreparedIntegral
PreparedIntegral
class PreparedIntegralA lowered Atom input that can be integrated repeatedly without repeating Symbolica-to-ring and Hlog conversion.
Create instances with integration.prepare. The object is immutable; copy.copy and copy.deepcopy return independent Python handles that share its immutable backing storage.
Attributes
| Name | Description |
|---|---|
indeterminate_count |
Number of exact Symbolica indeterminates in the prepared context. |
indeterminates |
Symbolica indeterminates in the prepared exact polynomial context. |
integration_variables |
Integration variables in their requested order. |
options |
Independent copy of the options captured during preparation. |
shuffle_term_count |
Number of shuffle entries in the prepared integrand. |
variable_count |
Number of requested integration variables. |
indeterminate_count
PreparedIntegral.indeterminate_count: builtins.intNumber of exact Symbolica indeterminates in the prepared context.
indeterminates
PreparedIntegral.indeterminates: builtins.list[Expression]Symbolica indeterminates in the prepared exact polynomial context.
integration_variables
PreparedIntegral.integration_variables: builtins.list[Expression]Integration variables in their requested order.
options
PreparedIntegral.options: IntegrationOptionsIndependent copy of the options captured during preparation.
shuffle_term_count
PreparedIntegral.shuffle_term_count: builtins.intNumber of shuffle entries in the prepared integrand.
variable_count
PreparedIntegral.variable_count: builtins.intNumber of requested integration variables.
Methods
| Name | Description |
|---|---|
__copy__ |
|
__deepcopy__ |
|
__len__ |
Return the number of prepared shuffle entries. |
__repr__ |
|
integrate |
Integrate and return a native Symbolica expression. |
integrate_detailed |
Integrate and retain metadata about the collected exact result. |
__copy__
PreparedIntegral.__copy__() -> PreparedIntegral__deepcopy__
PreparedIntegral.__deepcopy__(_memo: typing.Any) -> PreparedIntegral__len__
PreparedIntegral.__len__() -> builtins.intReturn the number of prepared shuffle entries.
__repr__
PreparedIntegral.__repr__() -> builtins.strintegrate
PreparedIntegral.integrate(options: typing.Optional[IntegrationOptions] = None) -> ExpressionIntegrate and return a native Symbolica expression.
integrate_detailed
PreparedIntegral.integrate_detailed(options: typing.Optional[IntegrationOptions] = None) -> IntegrationResultIntegrate and retain metadata about the collected exact result.