gustaf.utils.arr.bounds_diagonal#

gustaf.utils.arr.bounds_diagonal(arr)[source]#

Returns diagonal vector of the bounds.

bounds[1] - bounds[0]

Parameters:

arr ((n, d) array-like)

Returns:

bounds_diagonal

Return type:

(n,) np.ndarray