Auxiliary Utilities¶
The package also provides other convenience tools.
-
no_op
(...)¶ This function accepts arbitrary arguments and returns nothing.
It is mainly used as a callback function where you don’t really need to callback to do anything.
-
shrink
(x, t)¶ Compute the following function:
Here,
x
can be either a scalar or an array (for vectorized computation).