I'm looking for a simple function defined as: $$ f(x) = \begin{cases} 0, & \text{ when } x = 0, \\ C, & \text{ when }x \neq 0. \end{cases} $$
Basically, I only want the constant to matter if $x \neq 0$.
I'm looking for a simple function defined as: $$ f(x) = \begin{cases} 0, & \text{ when } x = 0, \\ C, & \text{ when }x \neq 0. \end{cases} $$
Basically, I only want the constant to matter if $x \neq 0$.