numpy.isposinf()

numpy.isposinf

numpy.isposinf(x, y=None) [source]

Test element-wise for positive infinity, return result as bool array.

Parameters:

x : array_like

The input array.

y : array_like, optional

A boolean array with the same shape as x to store the result.

Returns:

y : ndarray

A bool