Skip to main content

resolve_scalar_bindings

Function resolve_scalar_bindings 

Source
pub fn resolve_scalar_bindings(
    values: BTreeMap<Symbol, Atom>,
) -> Result<BTreeMap<Symbol, Atom>, ModelError>
Expand description

Close a set of named scalar definitions using literal Symbolica replacements.

Keys are literal symbols, including names ending in underscores. Values may retain constants or symbols outside this map; this operation resolves only dependencies among its keys. It neither numerically evaluates nor expands the expressions. Cyclic or unresolved dependencies between keys are errors.