smoothLimitAbove¶
Once continuously differentiable limitation of x from above by u: exactly u above u + deltaX, x below u - deltaX
FastSmoothBuildings.Utilities.smoothLimitAbove, function (source)
Purpose
Limitation of x from above by u, once continuously differentiable and without events: the second half of smoothLimit, which applies smoothLimitBelow, then it.
Equations
With δ = deltaX: y = u above u + deltaX,
y = x below u - deltaX, and in between the parabola
y = u − (u + δ − x)2/(4 δ),
which meets the bound with a zero slope and the identity with a unit slope (C1).
Revisions¶
- October 2026: split from smoothLimit, so that every statement of a function is one assignment (rumoca after commit 33c2114, 0.10.3 on PyPI, cannot export a variable set by an if-expression and used by the next statement).