- 博客(7)
- 资源 (31)
- 收藏
- 关注
原创 QTextEdit 不允许输入文字
禁用keyPressEventvoid ImageEdit::keyPressEvent(QKeyEvent *event){// qDebug() << "keypressed"; if ((event->modifiers() & Qt::ControlModifier) && (event->key()==Qt::Ke...
2020-03-28 07:52:02 4355 2
原创 关于vertical layout不能水平居中对齐的原因
vertical layout只管垂直分布, 所以如果其中某个widget不能水平对齐, 则创建一个qWidget, 然后在qWidget里面把widget水平对齐,
2020-03-25 10:56:53 581
原创 rebase in git
相信对于很多使用git的用户来说, rebase 和 merge像两个恶梦一样, 到底应该是从哪个branch rebase/merge 到哪个branch? rebase和merge有什么区别?我先回答一下第一问题:如果你想把feature branch rebase/merge到master branch. 你得从feature branch rebase onto / merge i...
2020-03-25 04:20:50 714
原创 '&' and 'and' difference in python
idx_b = data[:,1] == 0 and data[:,4] == 1用and会提示错误, 因为and 最终只给定一个bool值, 要么用.all() 或 .any()所以这里用& 是正确, 会给定一个bool值的array, 它是elementwise的https://stackoverflow.com/questions/10062954/valueerror-th...
2020-03-18 23:34:40 198
原创 search element in list and narray
Python List index()The index() method searches an element in the list and returns its index.In simple terms, the index() method finds the given element in a list and returns its position.If the sam...
2020-03-18 22:58:28 157
原创 indexing in narray
def test(): a = np.array([[ 0, 1, 2], [ 3, 4, 5], [ 6, 7, 8]]) print(a) print('\n') print(a[0:2,:]) # index the first two rows print('\n')...
2020-03-18 22:48:19 118
转载 BadZipfile: File is not a zip file
try: pip install --no-cache-dir <package_name>, it will workhttps://stackoverflow.com/questions/34889056/trying-to-install-pycuda-getting-zip-error/41916324#41916324
2020-03-03 01:32:20 987
Farthest Sampling on 3D meshes with mesh kept based on diffusion distance
2016-08-13
Fast Marching on 3D Meshes with diffusion distance
2016-08-13
Farthest Sampling on 3D meshes with mesh kept
2016-08-03
princal component analysis implemented in matlab
2016-07-09
as-conformal-as-possible surface registration
2016-07-07
softmax regression
2015-11-20
3D_Shader_CubeEnvMapping.rar
2013-08-29
3D_Math_Solve_Matrix_Inverse_by_Seamanj.rar
2013-03-06
3D_Math_Quaternion_by_Seamanj.rar
2013-03-06
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人