core.params

Parameters: named numbers with units, bounds and scopes, packed into one flat vector.

Functions

as_param(value, name, *[, unit, bounds, scope])

Return value if it already is a Param, else wrap it in a new Param.

constants(params)

Current values of Params as CasADi constants, keyed by name (a numeric view).

Classes

Binding(params[, live, symbol])

CasADi expressions for the Params of a set.

Param(name, value, *[, unit, bounds, scale, ...])

A named number (scalar, vector or matrix) with a unit, bounds and a scope.

ParamSet([params])

Ordered, named collection of Params; packs their values into one flat vector.