set_coefficient
Method of Model.
Overloads
| Name | Description |
|---|---|
set_coefficient(const string name, const CoefficientFunction coefficient) -> Model | Sets the named coefficient to the given value. |
set_coefficient(const string name, complex coefficient) -> Model | Sets the named coefficient to the given value. |
set_coefficient(const string name, const CoefficientFunction coefficient) -> Model
Sets the named coefficient to the given value.
Parameters
- name: Name of the coefficient to be set.
- coefficient: Coefficient to be set at coefficient name.
set_coefficient(const string name, complex coefficient) -> Model
Sets the named coefficient to the given value.
Parameters
- name: Name of the coefficient to be set.
- coefficient: Coefficient to be set at coefficient name.