GenerationSession
Symbolica documentation for getting started, symbolic expressions, numerical evaluation, pattern matching, and APIs in Python and Rust.
GenerationSession
class GenerationSessionAttributes
| Name | Description |
|---|---|
complete |
|
failed |
|
generated |
|
kernels |
|
mode |
|
subtraction |
complete
GenerationSession.complete: builtins.boolfailed
GenerationSession.failed: typing.Optional[builtins.str]generated
GenerationSession.generated: typing.Optional[GeneratedIntegral]kernels
GenerationSession.kernels: typing.Optional[Kernels]mode
GenerationSession.mode: builtins.strsubtraction
GenerationSession.subtraction: builtins.strMethods
| Name | Description |
|---|---|
__repr__ |
|
_repr_html_ |
|
snapshot |
|
step |
Run at most max_units indivisible native units on this caller’s thread |
__repr__
GenerationSession.__repr__() -> builtins.str_repr_html_
GenerationSession._repr_html_(slf: GenerationSession) -> builtins.strsnapshot
GenerationSession.snapshot() -> GenerationSnapshotstep
GenerationSession.step(
max_units: builtins.int = 1,
*,
observer: typing.Optional[typing.Any] = None,
) -> GenerationSnapshotRun at most max_units indivisible native units on this caller’s thread. False observers and KeyboardInterrupt pause; already completed work is retained. Numerical/algebra errors are terminal and expose no partial kernels.