Apply a tanh bound to an input signal.
Prevents numerical instability by smoothly limiting the magnitude of the
inputs fed to a second-order system.
- Parameters:
-
- Returns:
The bounded input bound * tanh(x / bound).
- Return type:
Array | ndarray | bool | number | bool | int | float | complex | Quantity