Clamp ===== Restricts u between min and max. ``clamp`` · math · element by element: vectors in, vectors out .. raw:: html Inputs ------ .. list-table:: :header-rows: 1 * - Port - Type - Unit - Components * - ``u`` - signal - — - — * - ``min`` - signal - — - — * - ``max`` - signal - — - — Outputs ------- .. list-table:: :header-rows: 1 * - Port - Type - Unit - Components * - ``y`` - signal - — - — Parameters ---------- .. list-table:: :header-rows: 1 * - Param - Type - Default - Options or unit * - ``min`` - number - ``0.0`` - — * - ``max`` - number - ``1.0`` - —