fitting.const

fitting.const(x, a)

Returns a constant.

Parameters:
  • x (array) – x-values.
  • a (float) – Value of the constant.
Returns:

f(x) = a (same shape as x).