Project

EarthSciASTDiff

Analytical sparse Jacobians for EarthSciAST (.esm) models by symbolic differentiation of the expression AST.

Contents

This is the documentation for the older version v0.7.0. For the latest release, see v0.8.0.

serialize_band

Stable function · Serialize as a document block

Tier: stable · Kind: function · Topic: Serialize as a document block

JuliaPythonRust
not exportedserialize_bandserialize_band

Julia

Julia does not export this function.

Python

serialize_band(en: JacEntry | JacEntry2) -> dict

One entry of the jacobians block, as a JSON-ready dict (spec §4; a JacEntry2 adds col2 / col2_idx, §4.4).

Source

Rust

pub fn serialize_band(en: &JacEntry) -> Value

One entry of the jacobians block, as JSON (spec §4).

Source · Rust docs