Parameter

class Parameter(_, uuid=None)[source]

Parameter Class for variable parameters.

Create a new ParameterExpression.

Not intended to be called directly, but to be instantiated via operations on other Parameter or ParameterExpression objects.

Parameters
  • symbol_map (dict) – Mapping of Parameter instances to the sympy.Symbol serving as their placeholder in expr.

  • expr (sympy.Expr) – Expression of sympy.Symbols.

Attributes

Parameter.name

Returns the name of the Parameter.

Parameter.parameters

Returns a set of the unbound Parameters in the expression.

Methods

Parameter.__mul__(other)

Parameter.bind(parameter_values)

Binds the provided set of parameters to their corresponding values.

Parameter.subs(parameter_map)

Substitute self with the corresponding parameter in parameter_map.

Parameter.__mul__(other)