mstk.analyzer.fitting.polyval

mstk.analyzer.fitting.polyval(x, coeff)

Evaluate the n-th order polynomial result: y = c0 + c1 * x + c2 * x**2 + … + cn * x**n

Parameters:
  • x (float) –

  • coeff (list of float) –

Returns:

y

Return type:

float