fitting.line

fitting.line(x, a, b)

A line.

Parameters:
  • x (array) – x-values.
  • a (float) – y-intercept.
  • b (float) – Slope.
Returns:

f(x) = b x + a.