当前位置:网站首页>Numpy learning
Numpy learning
2022-07-20 07:01:00 【Please call me Lei Feng】
One 、 What is? Numpy
NumPy It's a very fast math library , Mainly used for array calculation , contain :
1. A powerful N Dimensional array object ndarray.
2. Broadcast function .
3. Integrate C/C++/Fortran Code tools .
4. linear algebra 、 The Fourier transform 、 Random number generation and other functions .
Two 、Numpy Ndarray object
1.NumPy One of the most important features is its N Dimensional array object ndarray, It is a series of data of the same type ( It can store ) Set , With 0 The subscript is to start indexing the elements in the collection .
2.ndarray Object is a multidimensional array used to hold elements of the same type .
3.ndarray Each element in has an area of the same storage size in memory .
4.ndarray The interior consists of :
· A point to data ( A piece of data in a memory or memory mapped file ) The pointer to .
· Data type or dtype, A cell that describes a fixed size value in an array .
· An array shape (shape) tuples , A tuple representing the size of each dimension .
· A span tuple (stride), The integer refers to the need to move forward to the next element of the current dimension " Across " Bytes of .
About strides The understanding of the :
Reprint :https://blog.csdn.net/wxfighting/article/details/122758553
边栏推荐
- 11.3 排列和组合的产生(无重集元素)
- 专访铃盛(RingCentral)何必苍:以不断创新的MVP赋能未来混合办公
- ES6中set、map、DOM classList的基础用法
- MySQL transaction
- [literature reading] npe: an FPGA based overlay processor for natural language
- pdf.js 使用介绍
- D - Dire Wolf(区间dp)
- 为什么调试器会显示错误的函数
- 17_收集表单数据
- Silicon Valley class lesson 10 - marketing module and official account menu management
猜你喜欢
随机推荐
El select and El tree tree structure drop-down single selection and multi selection
17_ Collect form data
牛客网 - BM39 序列化二叉树 [Hard]
sql 请问如何在输入查询条件为空的情况下返回所有的数据
c语言基础篇:结构体(初阶)
天气预报仪触摸芯片-DLT8SA15A-杰力科创
Detailed WC find xargs zip gzip bzip2 XZ tar SFTP command or protocol
【读书笔记】用户画像方法论与工程化解决方案
淘宝直播怎么做,主播怎么做才能引流,卖出产品
MySQL中的二进制日志
U++ using the SetTimer function
E2. Escape The Maze (hard version) (思维 + 最短路)
【活动早知道】LiveVideoStack近期活动一览
牛客网刷题训练(一)
[literature reading] npe: an FPGA based overlay processor for natural language
bye! Damn nullpointexception
Metasploit of penetration test artifact
简历里写了电商项目 ,面试的时候怎么回答
js 获取两个时间段的时间组成数组
F. Equate Multisets(贪心)