Sample
Symbolica documentation for getting started, symbolic expressions, numerical evaluation, pattern matching, and APIs in Python and Rust.
Sample
Sample()A sample from the Symbolica integrator. It could consist of discrete layers, accessible with d (empty when there are not discrete layers), and the final continuous layer c if it is present.
Attributes
| Name | Description |
|---|---|
c |
A sample in the continuous layer |
d |
A sample point per (nested) discrete layer |
weights |
c
c: list[float]A sample in the continuous layer. Empty if not present.
d
d: list[int]A sample point per (nested) discrete layer. Empty if not present.
weights
weights: list[float]