couple_multiplicative_no_tendency_error
Stable error · Flatten
Tier: stable · Kind: error · Topic: Flatten
| Julia | TypeScript | Python | Rust | Go |
|---|---|---|---|---|
| not exported | CoupleMultiplicativeNoTendencyError | CoupleMultiplicativeNoTendencyError | not exported | CoupleMultiplicativeNoTendencyError |
Julia
Julia does not export this error.
TypeScript
class CoupleMultiplicativeNoTendencyError extends FlattenError
new CoupleMultiplicativeNoTendencyError(message: string): CoupleMultiplicativeNoTendencyError
A couple connector equation with transform: "multiplicative" targets
something with no tendency to multiply.
esm-spec §10.3 and esm-libraries-spec §4.7.2 define multiplicative against
the target’s EXISTING ODE right-hand side. When to names a parameter, an
observed, an algebraic unknown, or an undefined name, there is no D(to) and
the operation has no meaning.
Silently dropping the connector equation — what this binding did before — is the one outcome a coupling mis-specification must not have: the document declares a coupling and the flattened system carries no trace of it.
additive has no counterpart error because zero is the additive identity, so
an additive term against an absent tendency simply becomes the tendency.
Python
class CoupleMultiplicativeNoTendencyError(FlattenError)
A multiplicative connector transform targets something with no tendency.
esm-spec §10.3 and esm-libraries-spec §4.7.2 define multiplicative
against the target’s EXISTING ODE right-hand side. When to names a
parameter, an observed, an algebraic unknown, or an undefined name, there is
no D(to) to multiply and the operation has no meaning.
Silently dropping the connector equation – what this binding did before – is the one outcome a coupling mis-specification must not have: the document declares a coupling and the flattened system carries no trace of it.
additive has no counterpart error because zero is the additive identity,
so an additive term against an absent tendency simply becomes the tendency.
Rust
Rust does not export this error.
Go
type CoupleMultiplicativeNoTendencyError struct {
// Target is the connector equation's `to` scoped reference.
Target string
Message string
}
func (e *CoupleMultiplicativeNoTendencyError) DiagnosticCode() string
func (e *CoupleMultiplicativeNoTendencyError) Error() string
CoupleMultiplicativeNoTendencyError reports that a couple connector equation applies the multiplicative transform to a target with no D(to) equation in the flattened system (esm-spec §10.3, esm-libraries-spec §4.7.2).
Both sections define multiplicative against the target’s EXISTING ODE right-hand side. When to names a parameter, an observed, an algebraic unknown, or a name nothing defines, there is no tendency to multiply and the operation has no meaning — so the entry is rejected rather than dropped.
additive has no counterpart error: zero is the additive identity, so an additive term against an absent tendency simply becomes the tendency.
Methods
func (e *CoupleMultiplicativeNoTendencyError) DiagnosticCode() string
DiagnosticCode returns the stable diagnostic code (DiagnosticError).
func (e *CoupleMultiplicativeNoTendencyError) Error() string