🌐
NumPy
numpy.org › devdocs › reference › generated › numpy.isinf.html
numpy.isinf — NumPy v2.6.dev0 Manual
numpy.isinf(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature]) = <ufunc 'isinf'>#
Release notes
Fundamentals and usage · Advanced usage and interoperability
Constants
NumPy includes several constants: · Euler’s number, base of natural logarithms, Napier’s constant
Linear algebra
The NumPy linear algebra functions rely on BLAS and LAPACK to provide efficient low level implementations of standard linear algebra algorithms. Those libraries may be provided by NumPy itself using C versions of a subset of their reference implementations but, when possible, highly optimized ...
numpy.isnan
Test element-wise for NaN and return result as a boolean array · A location into which the result is stored. If provided, it must have a shape that the inputs broadcast to. If not provided or None, a freshly-allocated array is returned. A tuple (possible only as a keyword argument) must have ...
🌐
NumPy
numpy.org › doc › stable › reference › generated › numpy.isinf.html
numpy.isinf — NumPy v2.5 Manual
numpy.isinf(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature]) = <ufunc 'isinf'>#
🌐
NumPy
numpy.org › doc › 2.2 › reference › generated › numpy.isinf.html
numpy.isinf — NumPy v2.2 Manual
numpy.isinf(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature]) = <ufunc 'isinf'>#
🌐
GeeksforGeeks
geeksforgeeks.org › python › numpy-isinf-python
numpy.isinf() in Python - GeeksforGeeks
June 21, 2025 - numpy.isinf() test element-wise whether a value is positive or negative infinity. It returns a Boolean array with True where the input is either +inf or -inf and False otherwise.
🌐
NumPy
numpy.org › doc › 2.1 › reference › generated › numpy.isinf.html
numpy.isinf — NumPy v2.1 Manual
numpy.isinf(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature]) = <ufunc 'isinf'>#
🌐
NumPy
numpy.org › doc › 2.3 › reference › generated › numpy.isinf.html
numpy.isinf — NumPy v2.3 Manual
numpy.isinf(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature]) = <ufunc 'isinf'>#
🌐
SciPy
docs.scipy.org › doc › › numpy-1.9.3 › reference › generated › numpy.isinf.html
numpy.isinf — NumPy v1.9 Manual
numpy.isinf(x[, out]) = <ufunc 'isinf'>¶ · Test element-wise for positive or negative infinity. Returns a boolean array of the same shape as x, True where x == +/-inf, otherwise False. See also · isneginf, isposinf, isnan, isfinite · Notes · Numpy uses the IEEE Standard for Binary ...
🌐
NumPy
numpy.org › doc › 2.0 › reference › generated › numpy.isinf.html
numpy.isinf — NumPy v2.0 Manual
numpy.isinf(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature]) = <ufunc 'isinf'>#
🌐
w3resource
w3resource.com › numpy › logic-functions › isinf.php
NumPy Logic functions: isinf() function - w3resource
May 2, 2026 - The isinf() function is used to test element-wise for positive or negative infinity. Returns a boolean array of the same shape as x, True where x == +/-inf, otherwise False. ... numpy.isinf(x, /, out=None, *, where=True, casting='same_kind', ...
🌐
SciPy
docs.scipy.org › doc › numpy-1.14.2 › reference › generated › numpy.isinf.html
numpy.isinf — NumPy v1.14 Manual
numpy.isinf(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature, extobj]) = <ufunc 'isinf'>¶ · Test element-wise for positive or negative infinity. Returns a boolean array of the same shape as x, True where x == +/-inf, otherwise False.
Find elsewhere
🌐
SciPy
docs.scipy.org › doc › › numpy-1.11.0 › reference › generated › numpy.isinf.html
numpy.isinf — NumPy v1.11 Manual
May 29, 2016 - numpy.isinf(x[, out]) = <ufunc 'isinf'>¶ · Test element-wise for positive or negative infinity. Returns a boolean array of the same shape as x, True where x == +/-inf, otherwise False. See also · isneginf, isposinf, isnan, isfinite · Notes · Numpy uses the IEEE Standard for Binary ...
🌐
SciPy
docs.scipy.org › doc › › numpy-1.12.0 › reference › generated › numpy.isinf.html
numpy.isinf — NumPy v1.12 Manual
January 16, 2017 - numpy.isinf(x[, out]) = <ufunc 'isinf'>¶ · Test element-wise for positive or negative infinity. Returns a boolean array of the same shape as x, True where x == +/-inf, otherwise False. See also · isneginf, isposinf, isnan, isfinite · Notes · NumPy uses the IEEE Standard for Binary ...
🌐
Educative
educative.io › answers › what-is-numpyisinf-in-python
What is numpy.isinf() in Python?
Python’s numpy.isinf() is used to test if an element is a positive/negative infinity or not.
🌐
SciPy
docs.scipy.org › doc › numpy-1.6.0 › reference › generated › numpy.isinf.html
numpy.isinf — NumPy v1.6 Manual (DRAFT)
May 15, 2011 - numpy.isinf(x[, out])¶ · Test element-wise for positive or negative infinity. Return a bool-type array, the same shape as x, True where x == +/-inf, False everywhere else. See also · isneginf, isposinf, isnan, isfinite · Notes · Numpy uses the IEEE Standard for Binary Floating-Point for ...
🌐
SciPy
docs.scipy.org › doc › › numpy-1.8.0 › reference › generated › numpy.isinf.html
numpy.isinf — NumPy v1.8 Manual
numpy.isinf(x[, out]) = <ufunc 'isinf'>¶ · Test element-wise for positive or negative infinity. Return a bool-type array, the same shape as x, True where x == +/-inf, False everywhere else. See also · isneginf, isposinf, isnan, isfinite · Notes · Numpy uses the IEEE Standard for Binary ...
🌐
GeeksforGeeks
geeksforgeeks.org › numpy-isinf-python
numpy.isinf() in Python | GeeksforGeeks
March 8, 2024 - The numpy.isinf() function tests element-wise whether it is +ve or -ve infinity or not return the result as a boolean array.
🌐
Python Pool
pythonpool.com › home › numpy › numpy infinity: np.inf, isinf(), and nan_to_num()
NumPy Infinity: np.inf, isinf(), and nan_to_num()
July 13, 2026 - They can appear after division by zero, overflow, missing-value transformations, or an upstream calculation that intentionally uses an unbounded value. ... Use np.isinf(a) to find either sign of infinity, np.isposinf(a) or np.isneginf(a) when ...
🌐
NumPy
numpy.org › devdocs › reference › constants.html
Constants — NumPy v2.6.dev0 Manual
numpy.inf# IEEE 754 floating point representation of (positive) infinity. Returns · yfloat · A floating point representation of positive infinity. See Also · isinf : Shows which elements are positive or negative infinity · isposinf : Shows which elements are positive infinity ·