nectarchain.trr_test_suite.utils.second_degree_fit_function#
- second_degree_fit_function(x, a, b, c)[source]#
Computes a quadratic function of the form
a*(x**2) + b*x + c.- Args:
x (float): The input value. a (float): The coefficient of the squared term. b (float): The coefficient of the linear term. c (float): The constant term.
- Returns:
float: The result of the quadratic function.