The function f(x) takes a numerical input x and multiplies it by a constant factor, possibly with a different sign depending on the input. The function may add or subtract a constant value to the product of the input and the factor, and it may multiply the input by a different factor when the input is negative.

