Re:The "Soft Maximum" function
by flipper on Wednesday January 20, 2010 @05:04PM
(#1065907)
The article was possibly aimed at engineers or mathematicians so the author thought the benefits didn't need explaining.
A soft maximum might be useful if you want a differentiable function that closely approximates the max() function. By differentiable I mean you can work out the rate of change of the function at any point. With the hard maximum, the rate of change at the hard edge is not defined. Nicer to have one function to represent the RoC and not have to worry about special cases.
Re:The "Soft Maximum" function
by tjic on Thursday January 21, 2010 @11:41AM
(#1067626)
Yep, I do have a CS degree, and I realized that the crisp corners are not differentiable ... but a short paragraph about that and giving a few real world examples would have strongly improved the post.
A soft maximum might be useful if you want a differentiable function that closely approximates the max() function. By differentiable I mean you can work out the rate of change of the function at any point. With the hard maximum, the rate of change at the hard edge is not defined. Nicer to have one function to represent the RoC and not have to worry about special cases.