bionet.utils.numpy_extras.ifloor

bionet.utils.numpy_extras.ifloor(x)

Return the floor of the input, element-wise.

The floor of the scalar x is the largest integer i, such that i <= x. It is often denoted as :math:`lfloor x

floor`.

Parameters:

x : array_like

Input data.

Returns:

y : {numpy.ndarray, scalar}

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