Version: v0.2.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