numpy module 2 -- Numpy Tutorial2
2016-07-12 15:42
447 查看
1. More facility indexing
Except integers and slices, array can be indexed byarrays of integers and
arrays of booleans.
(1)One dim
(2) multi dim
(3) Indexs more than one dim.
(4) broadcast from a num
(5) slice broadcast
(6) Naturally, we can put i1 and
i2 in
a sequence (say a list) and then do the indexing.
(7) However, we can not do this
by putting i1 and
i2 into
an array.
(8) search the max value of time-dependent series
(9) 使用索引赋值
(10) You can use +=.
(11) Indexing with Boolean Arrays
(12) For each dimension of the array we give a
1D boolean array selecting the slices we want.
2. Simple Array Operations
(1) 转置和逆(2) 单位阵和矩阵相乘
(3) 迹、特征值、解方程
相关文章推荐
- 利用Python和OpenCV库将URL转换为OpenCV格式的方法
- Python NumPy库安装使用笔记
- Python中的Numpy入门教程
- #numpy#关于数组形状
- Python 排列组合以及多维数组排序
- NumPy基础(一)
- 安装numpy matplotlib
- python+numpy+scipy=matlab,抛弃matlab
- Python安装matplotlib所需要的软件以及问题的解决方法
- 例2.1.1的Numpy实现
- matplotlib初试——求两条直线相交的大概位置
- 绘制弹性模量的变化
- theano学习札记
- ParaView - Mixing NumPy and VTK APIs with high efficient using Python Programmable filter
- 开始正式写博客的第一天
- 新手学NumPy
- 创建视图和副本
- 来自bit.ly的1.usa.gov数据
- numba版 自适应差分进化算法 速度超快 可以求解约束问题
- windows下安装Python以及numpy、scipy、scitik-learn模块(3.4版本)