Parameter.bind¶
- Parameter.bind(parameter_values)¶
Binds the provided set of parameters to their corresponding values.
- Parameters
parameter_values (dict) – Mapping of Parameter instances to the numeric value to which they will be bound.
- Raises
CircuitError –
If parameter_values contains Parameters outside those in self. - If a non-numeric value is passed in parameter_values.
ZeroDivisionError –
If binding the provided values requires division by zero.
- Returns
- a new expression parameterized by any parameters
which were not bound by parameter_values.
- Return type