wisdem.commonse.utilities.smooth_min

wisdem.commonse.utilities.smooth_min(yd, ymin, pct_offset=0.01, dyd=None)[source]

array min, uses cubic spline to smoothly transition. derivatives with respect to array and min value. width of transition can be controlled, and chain rules for differentiation