Kernels
Symbolica documentation for getting started, symbolic expressions, numerical evaluation, pattern matching, and APIs in Python and Rust.
Kernels
class KernelsCompiled native evaluator owners. Each session owns one lazy execution context.
Attributes
| Name | Description |
|---|---|
backend |
|
compilation_settings |
|
components |
|
content_id |
|
exact_coefficients |
|
orders |
|
parameters_bound |
|
runtime_parameters |
|
sector_count |
|
sector_statistics |
Actual complete-vector evaluator records, aligned with native kernel sectors. |
stability_settings |
backend
Kernels.backend: builtins.strcompilation_settings
Kernels.compilation_settings: CompilationSettingscomponents
Kernels.components: builtins.list[builtins.str]content_id
Kernels.content_id: builtins.strexact_coefficients
Kernels.exact_coefficients: builtins.list[builtins.float]orders
Kernels.orders: builtins.list[builtins.int]parameters_bound
Kernels.parameters_bound: builtins.boolruntime_parameters
Kernels.runtime_parameters: builtins.list[Expression]sector_count
Kernels.sector_count: builtins.intsector_statistics
Kernels.sector_statistics: builtins.list[EvaluatorStatistics]Actual complete-vector evaluator records, aligned with native kernel sectors.
stability_settings
Kernels.stability_settings: StabilitySettingsMethods
| Name | Description |
|---|---|
_repr_html_ |
|
from_bytes |
Validate native programs and construct evaluators for the current host backend. |
mc_session |
Native sector-importance Havana, with a caller-controlled pilot or frozen production. |
restore |
Restore complete accepted packages and replay state against these exact kernels. |
restore_mc |
Restore only a native frozen-production discrete Havana checkpoint. |
session |
|
snapshot |
|
to_bytes |
Persist the library’s native portable program/metadata codec, excluding machine code. |
with_parameters |
Bind an explicit complete physical point on independently owned native evaluators. |
with_stability |
_repr_html_
Kernels._repr_html_(slf: Kernels) -> builtins.strfrom_bytes
Kernels.from_bytes(artifact: bytes) -> KernelsValidate native programs and construct evaluators for the current host backend.
mc_session
Kernels.mc_session(
settings: typing.Optional[HavanaDiscreteSettings] = None,
*,
pilot: builtins.bool = False,
sector_probabilities: typing.Optional[typing.Sequence[builtins.float]] = None,
) -> HavanaDiscreteSessionNative sector-importance Havana, with a caller-controlled pilot or frozen production.
restore
Kernels.restore(checkpoint: bytes) -> QmcSessionRestore complete accepted packages and replay state against these exact kernels.
restore_mc
Kernels.restore_mc(checkpoint: bytes) -> HavanaDiscreteSessionRestore only a native frozen-production discrete Havana checkpoint.
session
Kernels.session(settings: typing.Optional[QmcSettings] = None) -> QmcSessionsnapshot
Kernels.snapshot() -> GenerationSnapshotto_bytes
Kernels.to_bytes() -> bytesPersist the library’s native portable program/metadata codec, excluding machine code.
with_parameters
Kernels.with_parameters(
values: dict,
*,
stability: typing.Optional[StabilitySettings] = None,
) -> KernelsBind an explicit complete physical point on independently owned native evaluators.
with_stability
Kernels.with_stability(settings: StabilitySettings) -> Kernels