当前位置:网站首页>numpy.inf
numpy.inf
2022-07-24 07:02: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])边栏推荐
- MySql的DDL和DML和DQL的基本语法
- Take you step by step to learn C (one)
- 第二部分—C语言提高篇_3. 指针强化
- 【LeetCode】444. 序列重建
- STM32H750VBT6驱动程控增益放大模块PGA113——基于CubeMX的Hal库
- 【PTA】团体程序设计天梯赛-练习集 L3题目总结(不全)
- Use dichotomy to find specific values from the array
- yocs_ velocity_ Smooth source code compilation
- AMD64(x86_64)架构abi文档:上
- Pytorch deep learning practice lesson 10 / assignment (basic CNN)
猜你喜欢

单场GMV翻了100倍,冷门品牌崛起背后的“通用法则”是什么?

聚合型新生态模式-分享购,会员及奖励制度

C language from entry to Earth - array

Vs debugging
![[leetcode] 11. Container with the most water - go language solution](/img/42/3a1839dd768a5f02dc2acb5bd66438.png)
[leetcode] 11. Container with the most water - go language solution

【方向盘】IDEA的代码审查能力,来保证代码质量

QoS quality of service 4 traffic regulation of QoS boundary behavior

Chapter007-FPGA学习之IIC总线EEPROM读取

周杰伦直播超654万人观看,总互动量破4.5亿,助力快手再破纪录

JMeter notes 2 | JMeter principle and test plan elements
随机推荐
Take you step by step to learn C (one)
Basic syntax of MySQL DDL and DML and DQL
第二部分—C语言提高篇_3. 指针强化
安全工具之hackingtool
QoS quality of service three DiffServ Model message marking and PHB
File "manage.py", line 14) from exc ^ syntaxerror: cause and solution of invalid syntax error
Empty cup mentality, start again
Vs debugging
baddy:核心函数入口
Traditional e-commerce dividends disappear, how to enter the new social e-commerce?
Processing tree structured data
Do you really know the judgement sentence?
17. 什么情况用ArrayList or LinkedList呢?
Paper reading: hardnet: a low memory traffic network
AMD64(x86_64)架构abi文档:上
From the perspective of CIA, common network attacks (blasting, PE, traffic attacks)
Day (0~6) represents the starting position of the first day of each month, stop represents the number of days of each month, and there are two blank spaces between each day. Input different days and s
研究会2022.07.22--对比学习
周杰伦直播超654万人观看,总互动量破4.5亿,助力快手再破纪录
QoS服务质量四QoS边界行为之流量监管