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.

band_error

Stable error · Differentiate a model

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

JuliaPythonRust
BandErrorBandErrorBandError

Julia

struct BandError <: Exception
BandError(msg::String)
BandError(msg)
BandError(msg)

An expression has a form the band calculus cannot differentiate (for example a filtered faq node or a non-"+" semiring).

Source

Python

class BandError(Exception)

Raised when an expression has a form the band calculus cannot differentiate (for example a joined faq node or a boolean semiring).

Source

Rust

pub struct BandError(pub String);

An expression has a form the band calculus cannot differentiate (for example a joined faq node, the bool_and_or semiring, or a max over two contracted indices).

Source · Rust docs