Serialize as a document block
The `jacobians` document block, so the Jacobian is itself an `.esm` artifact any binding can evaluate.
| Operation | Kind | Bindings | Summary |
|---|---|---|---|
cse_templates | function | Julia, Python, Rust | Greedy largest-first extraction of repeated subtrees over exprs. |
jacobian_block | function | Python, Rust | The §4 jacobians block for one model: entries (template-CSE’d by default) and the block-local expression_templates; on the state and time axes the structure classification… |
jacobian_document | function | Julia | The serialized input document plus the draft "jacobians" top-level block (esm-jacobian-spec.md §4): per model, the differentiation axis, the band entries, and — on the state… |
parse_jacobian_blocks | function | Julia, Python, Rust | parse_jacobian_block over a model’s "jacobians" entry, which is either one block or an array of blocks with distinct wrt (esm-jacobian-spec.md §4); returns one `(wrt,… |
serialize_band | function | Python, Rust | One entry of the jacobians block, as a JSON-ready dict (spec §4; a JacEntry2 adds col2 / col2_idx, §4.4). |
stable_json | function | Julia, Python, Rust | Deterministic JSON: object keys emitted in sorted order at every level, scalars formatted by JSON3. |