Version: dev

parse_jacobian_blocks

Stable function · Serialize as a document block

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

JuliaPythonRust
parse_jacobian_blocksparse_jacobian_blocksparse_jacobian_blocks

Julia

parse_jacobian_blocks(x)
parse_jacobian_blocks(x) -> Vector{Tuple{Symbol,Vector{JacEntry}}}

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, entries) per block, in order.

Source

Python

parse_jacobian_blocks(x) -> list

parse_jacobian_block over a model’s jacobians entry, which is either one block or a list of blocks with distinct wrt (spec §4); returns one (wrt, entries) per block, in order.

Source

Rust

pub fn parse_jacobian_blocks(x: &Value) -> Result<Vec<(Wrt, Vec<JacEntry>)>, BandError>

parse_jacobian_block over a model’s jacobians entry, which is either one block or an array of blocks with distinct wrt (spec §4); one (wrt, entries) per block, in order.

Source · Rust docs