1.粒子化function Dot(X, Y, Z, R) { this.dx = X;
this.dy = Y; this.dz = Z; this.tx = 0; ...
分类:
编程语言 时间:
2014-07-22 22:59:53
阅读次数:
400
Linux下Rsync+inotify-tools实现数据实时同步中有一个重要的配置就是设置Inotify的max_user_watches值,如果不设置,当遇到大量文件的时候就会出现出错的情况。一般网上修改方法就是直接修改文件:/proc/sys/fs/inotify/max_user_watch...
分类:
系统相关 时间:
2014-05-01 21:22:57
阅读次数:
715
一 设置, 查看, 删除断点信息b xxx.cpp : num(or function)在
xxx.cpp 的第 num 行设置断点, 假如项目中只有一个 .cpp 文件, 不需要指定 xxx.cpp, 直接 b num 即可info break
查看断点信息, 断点信息中有断点的 index, 通...
分类:
数据库 时间:
2014-05-01 21:09:59
阅读次数:
433
function changeBottomTimeScale(value) {
gantt.setBottomTimeScale(value)}
分类:
其他好文 时间:
2014-05-01 21:04:50
阅读次数:
349
版本不对的原因。具体在10.5.9下修改此参数即可解决问题。LoadFunction()
has an ACritical parameter. It is set to True by default, but can be set to
False for individual function...
分类:
系统相关 时间:
2014-05-01 20:14:57
阅读次数:
594
/**js Unicode编码转换*/vardecToHex =function(str)
{varres=[];for(vari=0;i < str.length;i++)
res[i]=("00"+str.charCodeAt(i).toString(16)).slice(-4);return"...
分类:
Web程序 时间:
2014-05-01 19:36:51
阅读次数:
427
Keyboard inputPython provides a build-in
function called raw_input (in version 2.x) that gets input from the keyboard. In
Python 3.x we use input(). W...
分类:
其他好文 时间:
2014-05-01 19:23:26
阅读次数:
392
RecursionIt is legal for one function to call
another; it is also legal for a function to call itself. It may not be obvious
why what is a good thing,...
分类:
其他好文 时间:
2014-05-01 18:40:44
阅读次数:
302
Gabor的核函数参考的wiki使用实数Real的公式计算核函数代码:Mat gaborFilter(Mat& img, Mat& filter){
int half_filter_size = (max(filter.rows,filter.cols)-1)/2;
Mat filtered_img(img.rows,img.cols,CV_32F);
for(int i=0;i<img.r...
分类:
其他好文 时间:
2014-05-01 17:42:41
阅读次数:
378
大数乘法的步骤(先戳我看看大数加法的思想):
首先是输入2个数据,并且逆序,还要去掉前导0。比较大小:
相等的话,结果为0。前者大于后者,则直接进行减法运算。前者小于后者,则用后者减去前者,最后在结果前面添上负号。
从最高位开始输出结果。
#include
#include
#define MAX 1000
using namespace std;
void InputNu...
分类:
其他好文 时间:
2014-04-30 22:17:40
阅读次数:
231