合并 hstack(tup):按行合并 【前面有个 h,可以理解为 行,这样方便记忆】 vstack(tup):按列合并 参数虽然是 tuple,但是 list 也行,可以合并2个或者多个数组。 追加 append(arr, values, axis=None):可以追加数组,也可以追加数字,追加数 ...
分类:
其他好文 时间:
2019-08-20 12:31:46
阅读次数:
73
NXOpen::WCS Class Reference NXOpen::CartesianCoordinateSystem* NXOpen::WCS::CoordinateSystem()获取WCS相关信息 https://www.cnblogs.com/nxopen2018/p/11368763. ...
分类:
编程语言 时间:
2019-08-18 19:27:33
阅读次数:
393
We are given a list of (axis aligned) . Each , where (x1, y1) are the coordinates of the bottom left corner, and (x2, y2) are the coordinates of the t ...
分类:
其他好文 时间:
2019-08-18 09:28:28
阅读次数:
101
numpy.sum axis的参数不能超过数组的维度,用来压缩其表示的维度,从下面的代码可以和明显看出其运算原理 再来个三维数组 np.max、np.min、np.mean等同理 (以2维数组为例) ...
分类:
其他好文 时间:
2019-08-17 16:28:26
阅读次数:
95
hold on 在原来的图片上继续绘制 添加标签 将数据显示在不同的图片上 分割图像subplot(a, b, c), a,b 将图像分割为a * b 的图像,c控制使用第几个图像 调整坐标轴的范围axis() 具体可以看 help axis clf 清除图像 可视化矩阵 imagesc(A) co ...
分类:
其他好文 时间:
2019-08-16 13:22:40
阅读次数:
111
There is an interesting and simple one person game. Suppose there is a number axis under your feet. You are at point A at first and your aim is point ...
分类:
其他好文 时间:
2019-08-11 20:44:18
阅读次数:
130
本文记录日常工作中遇到的查找操作,持续更新。 极值 min,max 返回极值 argmin(a, axis=None, out=None), 返回极值所在的位置;不带 axis,先拉直,再找极值;带 axis,找某个维度的极值 NaN值 nan 值由多种表达形式,如 None,np.nan,np.N ...
分类:
其他好文 时间:
2019-08-10 11:50:36
阅读次数:
122
https://blog.csdn.net/sky_kkk/article/details/79725646 numpy中axis取值的说明首先对numpy中axis取值进行说明:一维数组时axis=0,二维数组时axis=0,1,维数越高,则axis可取的值越大,数组n维时,axis=0,1,…, ...
分类:
编程语言 时间:
2019-08-10 10:01:39
阅读次数:
147
问题描述:昨天需要实现一个功能是根据指令左转90度或者右转90度,当时脑汁可能是有浆糊吧,居然要用直接赋值rotation,这样一来就要牵扯到eulerAngles和四元数的Euler函数了,结果忙活了好久没解决,bug层出,今天经过详细了解,解决了相关问题,一并把其他关于角度和旋转的知识点整理出来 ...
分类:
编程语言 时间:
2019-08-09 15:17:36
阅读次数:
156
The Inclusion Exclusion Principle The inclusion exclusion principle is an important combinatorial way to compute the size of a set or the probability ...
分类:
其他好文 时间:
2019-08-08 23:50:18
阅读次数:
205