当前位置:网站首页>numpy.inf
numpy.inf
2022-07-24 07:23:00 【Wanderer001】
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
isneginf : Shows which elements are negative infinity
isnan : Shows which elements are Not a Number
isfinite : Shows which elements are finite (not one of Not a Number, positive infinity and negative infinity)
Notes
NumPy uses the IEEE Standard for Binary Floating-Point for Arithmetic (IEEE 754). This means that Not a Number is not equivalent to infinity. Also that positive infinity is not equivalent to negative infinity. But infinity is equivalent to positive infinity.
Inf, Infinity, PINF and infty are aliases for inf.
Examples
>>> np.inf
inf
>>> np.array([1]) / 0.
array([ Inf])边栏推荐
- Take you to learn C step by step (second)
- FPGA实现AXI4总线的读写
- Jenkins 详细部署
- libsvm 使用参数的基础知识笔记(1)
- 第二部分—C语言提高篇_3. 指针强化
- win10声音图标有个没有声音
- AMD64 (x86_64) architecture ABI document: upper
- 记账APP:小哈记账2——注册页面的制作
- django.db.utils. OperationalError: (2002, “Can‘t connect to local MySQL server through socket ‘/var/r
- Use of redis
猜你喜欢

Variables and data types (04) end

Chapter007 FPGA learning IIC bus EEPROM reading

C language from entry to soil function

QoS quality of service three DiffServ Model message marking and PHB

深度学习二三事-回顾那些经典卷积神经网络

2D目标检测综述之学习策略篇(终章)

Variables and data types (03)

一个怎样的模式能让平台用户发生自助裂变?-链动2+1

C language from entry to soil (III)

SPI - send 16 bit and 8-bit data
随机推荐
PHP escape string
QoS quality of service three DiffServ Model message marking and PHB
Jenkins 详细部署
SPI - send 16 bit and 8-bit data
A great hymn
Traditional e-commerce dividends disappear, how to enter the new social e-commerce?
单点登录的三种实现方式
C language start
编译与调试(gcc,g++,gdb)
Customization or GM, what is the future development trend of SaaS in China?
Chinese manufacturers may catch up with the humanoid robot Optimus "Optimus Prime", which has been highly hyped by musk
Blockbuster live broadcast | orb-slam3 series code explanation map points (topic 2)
File "manage.py", line 14) from exc ^ syntaxerror: cause and solution of invalid syntax error
Filter 过滤器
Decompress the anchor and enjoy 4000w+ playback, adding a new wind to the Kwai food track?
野指针,空指针,失效指针
记账APP:小哈记账2——注册页面的制作
cookie_session
[word] how to generate the index directory on the left
变量和数据类型(03)