parameters: (fit_function: IFunction, parameter_values: list, errors: list = None)
docstring: Set the parameter values within a fit function.
docstring_summary: Set the parameter values within a fit function.
docstring_tokens: Set the parameter values within a fit function .
function: def _set_fit_function_parameter_values(fit_function: IFunction, parameter_values: list, errors: list = None) -> None:
          """Set the parameter values within a fit function."""
          for i in range(fit_function.nParams()):
              fit_function.setParameter(i, parameter_values[i])
              if errors is not None:
                  fit_function.setError(i, errors[i])
function_tokens: def _set_fit_function_parameter_values ( fit_function : IFunction , parameter_values : list , errors : list = None ) -> None : for i in range ( fit_function . nParams ( ) ) : fit_function . setParameter ( i , parameter_values [ i ] ) if errors is not None : fit_function . setError ( i , errors [ i ] )