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.

jac_entry

Stable type · Differentiate a model

Tier: stable · Kind: type · Topic: Differentiate a model

JuliaPythonRust
JacEntryJacEntryJacEntry

Julia

struct JacEntry
JacEntry(u::String, v::String, band::Band)
JacEntry(u, v, band)
JacEntry

One band of the model Jacobian: ∂(equation for state u)/∂v`` with its Band .

Source

Python

class JacEntry
JacEntry(u: str, v: str, band: Band)

One block of the Jacobian: row variable u, column variable v, and the Band giving the rows it covers, the column-index expressions and the coefficient.

Source

Rust

pub struct JacEntry {
    pub u: String,
    pub v: String,
    pub band: Band,
}

One block of the Jacobian: row variable u, column variable v, and the Band giving the rows it covers, the column-index expressions and the coefficient.

Source · Rust docs