fitting.proportional

fitting.proportional(x, b)

Proportionality, i.e., a line through the origin.

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

f(x) = b x.