tmp()

Return the machine’s temporary file directory.

ensure_ndarray(a)

Return _a_ if it is a NumPy array, or else return _a_ as a NumPy array.

span(a)

Find the difference between the highest and lowest elements of a list or array.

Parameters

a (np.ndarray | list) – Array.

Returns

[float] Array span.

bounds(d, u, l, up, lp, v)