tidy3d.plugins.autograd.functions.smooth_min#
- class smooth_min[source]#
Bases:
Compute the smooth minimum of an array using temperature parameter tau.
- Parameters:
x (np.ndarray) β Input array.
tau (float = 1.0) β Temperature parameter controlling smoothness. Larger values make the minimum smoother.
axis (Union[int, Tuple[int, ...], None] = None) β Axis or axes over which the smooth minimum is computed. By default, the smooth minimum is computed over the entire array.
- Returns:
The smooth minimum of the input array.
- Return type:
np.ndarray
Inherited Common Usage