- 博客(7)
- 资源 (31)
- 收藏
- 关注
转载 快排、归并、堆排序运用场景
快排,归并排,堆排序时间复杂度相同,但它们三者区别是快速排序和堆排序是不稳定的,归并为稳定型,对于辅助空间堆排序要求最小,归并最多,它们排序的最好情况复杂度相同,最坏的情况下快速排序要复杂些,根据数据的数量来说,选择归并或堆,如果还要求考虑辅助空间,就用堆排序,在涉及稳定性方面则考虑归并(虽然所需空间较多)。所以,选择那个排序要看题目要求........
2014-10-14 01:30:35 3576
转载 inline函数的好处与缺点
优点:1)inline定义的内联函数,函数代码被放入符号表中,在使用时进行替换(像宏一样展开),效率很高。2)类的内联函数也是函数。编绎器在调用一个内联函数,首先会检查参数问题,保证调用正确,像对待真正函数一样,消除了隐患及局限性。3)inline可以作为类的成员函数,也可以使用所在类的保护成员及私有成员。缺点:内联函数以复制为代价,活动产函数开销1
2014-10-14 01:05:50 1578
转载 C++空类中的默认函数
参加面试的时候,面试官问到这个问题,我的回答:默认构造函数、默认析构函数、默认拷贝构造函数、默认赋值函数。现在回想起来感觉不对,就google,揭示一下这个看似简单的问题: 一个空的class在C++编译器处理过后就不再为空,编译器会自动地为我们声明一些member function,如果你写 class A{}; 编译器处理后,就相当于: clas
2014-10-14 00:59:54 615
原创 3dmax快捷键
G 网格显示W 移动工具E 旋转工具F4 显示分段数P 透视T 顶视F 前视L 左视单位设置:自定义-单位设置ATL+A 对齐视图左右键切换都可,推荐右键,不会选择到物体shift键+移动 可以复制物品ALT+Q 孤立编辑garment maker
2014-10-08 02:23:37 861
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关注的人