functionsoftswitch

Softly switches between y0 and y1 at x=x_switch with smoothing f

Inputs

TypeNameDefaultDescription
Realx
Realx_switch
Realy0
Realy1
Realf

Outputs

TypeNameDefaultDescription
Realy