Hacker News new | ask | show | jobs
by Attrecomet 1016 days ago
The correct function to minimize would be θ(-f(x))*(-f(x)), using the https://en.wikipedia.org/wiki/Heaviside_step_function
1 comments

Offtopic but I could never understand why math people prefer θ to pointwise conditionals or min/max.

θ(-f(x))*(-f(x)) vs max(0, -f(x))

The heavyside-function is integrable and differentiable?