2013年11月6日
摘要: Chapter 2 basic mathematics1. matrix 1)base symmetric matrix: M = M'; skew-symmetric matrix: M=-M' 2)scaling scaling matrix:diagonal matrix D = diag{d1,...,dn} for all di > 0 3)rotation rotation maxtrix: R if RR' = I then R has a corresponding unit length axis of rotation U and angle 阅读全文
posted @ 2013-11-06 11:25 zReachzer 阅读(205) 评论(0) 推荐(0) 编辑
  2013年11月5日
摘要: 备注: C: control, M: alt;1. 退出 C-x C-c2. 打开文件 C-x C-f3. 切换文件 C-x C-v4. 保存文件 C-x C-s5. 另存文件 C-x C-w6. 删除文本 1. backspace 2. M-d 光标起,删除后半截单词 3. M-backspace 光标起,删除前半截单词 4. M-k 光标起,删除一段句子7. 撤销文本: C-/ 或 C-_ 或 C-x u 撤销命令: C-g8. 插入空行 C-o 删除空行 C-x C-o9. C-x z 重复上次命令,此后直接z就可以继续重复了 阅读全文
posted @ 2013-11-05 10:13 zReachzer 阅读(97) 评论(0) 推荐(0) 编辑
  2013年10月29日
摘要: 1. 数组a[i], 求数组output,其中output[i]=product(a[j] | j!=i)void f(int *a, int *output, int n){ for(int i=0;i s; node *current = root; while(!s.empty()||current) { if(current) { s.push(current); current = current->left; } else { cur... 阅读全文
posted @ 2013-10-29 16:28 zReachzer 阅读(204) 评论(0) 推荐(0) 编辑
  2013年10月20日
摘要: 2013.10.20开始学习C#1. 单继承;2. 值类型: 基本:整数(byte,short,int, long), 布尔类型,实数,字符型; 结构体; 枚举类型;3. 引用型数据: 类、代表、接口、数组4. 类 域、属性、方法;5. 代表: 安全的C#"指针“ delegate int MyDelegate();using System;delegate int MyDelegate();class P{ public int Fun1(){return 0;} public static int Fun2(){return 0;}}class Q{ static... 阅读全文
posted @ 2013-10-20 18:30 zReachzer 阅读(179) 评论(0) 推荐(0) 编辑
  2013年10月13日
摘要: 第一范式: 每列都是原子性,不可拆分;第二范式: 每列都完全依赖于主键,而不是主键的不一部分;第三范式: 非主属性都不依赖于非主键列;BCNF范式(第三范式的子集):非主属性不依赖于主键的子集; 阅读全文
posted @ 2013-10-13 08:50 zReachzer 阅读(82) 评论(0) 推荐(0) 编辑
  2013年10月12日
摘要: 读写信号量,读写互斥,可以多读seg R, W;int read_count=0;void read(){ P(R); if(read_count==0) { P(W); } read_count++; V(R); reading... P(R); read_count--; if(read_count==0) { V(W); } V(R);}void write(){ P(W); writing... V(W);} 阅读全文
posted @ 2013-10-12 21:28 zReachzer 阅读(153) 评论(0) 推荐(0) 编辑