News for hackers. Stuff that matters.
Re:The "Soft Maximum" function by shalmanese on Wednesday January 20, 2010 @07:29PM (#1066243)
Is there a accepted modification to the function to make it scale invariant? I'm kind of weirded out by something that would spit out a different result if did a unit change.
Re:The "Soft Maximum" function by memetichazard on Thursday January 21, 2010 @01:03PM (#1067854)
Here's an idea. Take the scaled function: g(x, y; k) = log( exp(kx) + exp(ky) ) / k

Let k be 1/max(x,y) so that you have:

g(x,y) = log(exp(1)+exp(min(x,y)/max(x,y))*max(x,y)

There are some issues if the maximum value can be negative or zero, though.