functionsmoothMax_exponential

Extends from TRANSFORM.Icons.Function (Icon for functions).

Information

An implementation of Kreisselmeier Steinhauser smooth maximum. This does not return the exact value of x1 or x2, only an approximation, though the error diminishes as the transition region is exited.

Sources:

  • https://www.johndcook.com/blog/2010/01/20/how-to-compute-the-soft-maximum/

Inputs

TypeNameDefaultDescription
Realx1First argument of smooth max operator
Realx2Second argument of smooth max operator
RealdxApproximate difference between x1 and x2, below which regularization starts

Outputs

TypeNameDefaultDescription
RealyResult of smooth max operator