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.

derivative_rule_error

Stable error · Differentiate a model

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

JuliaPythonRust
DerivativeRuleErrorDerivativeRuleErrorDerivativeRuleError

Julia

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

A scalar operator has no derivative rule (spec §3).

Source

Python

class DerivativeRuleError(Exception)

Raised when a scalar operator has no derivative rule (spec §3).

Source

Rust

pub struct DerivativeRuleError(pub String);

A scalar operator has no derivative rule (spec §3).

Source · Rust docs