bionet.utils.numpy_extras.iceil

bionet.utils.numpy_extras.iceil(x)

Return the ceiling of the input, element-wise.

The ceil of the scalar x is the smallest integer i, such that i >= x. It is often denoted as :math:`lceil x

ceil`.

Parameters:

x : array_like

Input data.

Returns:

y : {numpy.ndarray, scalar}

The ceiling of each element in x, with int dtype.